summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar boludoz2023-10-18 01:20:46 -0300
committerGravatar boludoz2023-10-18 01:20:46 -0300
commit2a7edda70ac7bfcce6a830c814a6b8cd559b8c03 (patch)
treef71e8e4c3d7761120e65756526cffbdf7f75f08d /src
parentMerge branch 'yuzu-emu:master' into new-shortcut (diff)
downloadyuzu-2a7edda70ac7bfcce6a830c814a6b8cd559b8c03.tar.gz
yuzu-2a7edda70ac7bfcce6a830c814a6b8cd559b8c03.tar.xz
yuzu-2a7edda70ac7bfcce6a830c814a6b8cd559b8c03.zip
Deleted admin requisite (maybe it was another mistake).
Diffstat (limited to 'src')
-rw-r--r--src/yuzu/main.cpp8
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 =