diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/yuzu/main.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index 01b64e165..37f1c0bc4 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp | |||
| @@ -3067,13 +3067,7 @@ void GMainWindow::OnGameListCreateShortcut(u64 program_id, const std::string& ga | |||
| 3067 | LOG_ERROR(Frontend, "Invalid shortcut target"); | 3067 | LOG_ERROR(Frontend, "Invalid shortcut target"); |
| 3068 | return; | 3068 | return; |
| 3069 | } | 3069 | } |
| 3070 | #if defined(_WIN32) | 3070 | #if defined(__linux__) |
| 3071 | if (!IsUserAnAdmin() && target == GameListShortcutTarget::Applications) { | ||
| 3072 | GMainWindow::CreateShortcutMessagesGUI(this, GMainWindow::CREATE_SHORTCUT_MSGBOX_ADMIN, | ||
| 3073 | qt_game_title); | ||
| 3074 | return; | ||
| 3075 | } | ||
| 3076 | #elif defined(__linux__) | ||
| 3077 | // Special case for AppImages | 3071 | // Special case for AppImages |
| 3078 | // Warn once if we are making a shortcut to a volatile AppImage | 3072 | // Warn once if we are making a shortcut to a volatile AppImage |
| 3079 | const std::string appimage_ending = | 3073 | const std::string appimage_ending = |