diff options
author | boludoz <francomaro@gmail.com> | 2023-10-18 06:20:46 +0200 |
---|---|---|
committer | boludoz <francomaro@gmail.com> | 2023-10-18 06:20:46 +0200 |
commit | 2a7edda70ac7bfcce6a830c814a6b8cd559b8c03 (patch) | |
tree | f71e8e4c3d7761120e65756526cffbdf7f75f08d | |
parent | Merge branch 'yuzu-emu:master' into new-shortcut (diff) | |
download | yuzu-2a7edda70ac7bfcce6a830c814a6b8cd559b8c03.tar yuzu-2a7edda70ac7bfcce6a830c814a6b8cd559b8c03.tar.gz yuzu-2a7edda70ac7bfcce6a830c814a6b8cd559b8c03.tar.bz2 yuzu-2a7edda70ac7bfcce6a830c814a6b8cd559b8c03.tar.lz yuzu-2a7edda70ac7bfcce6a830c814a6b8cd559b8c03.tar.xz yuzu-2a7edda70ac7bfcce6a830c814a6b8cd559b8c03.tar.zst yuzu-2a7edda70ac7bfcce6a830c814a6b8cd559b8c03.zip |
-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 LOG_ERROR(Frontend, "Invalid shortcut target"); return; } -#if defined(_WIN32) - if (!IsUserAnAdmin() && target == GameListShortcutTarget::Applications) { - GMainWindow::CreateShortcutMessagesGUI(this, GMainWindow::CREATE_SHORTCUT_MSGBOX_ADMIN, - qt_game_title); - return; - } -#elif defined(__linux__) +#if defined(__linux__) // Special case for AppImages // Warn once if we are making a shortcut to a volatile AppImage const std::string appimage_ending = |