aboutsummaryrefslogtreecommitdiff
path: root/src/yuzu/main.cpp
diff options
context:
space:
mode:
authorboludoz <francomaro@gmail.com>2023-10-18 01:26:50 -0300
committerboludoz <francomaro@gmail.com>2023-10-18 01:26:50 -0300
commitc7ac598b6203ae5ea1fdd2f4b514043e429476c6 (patch)
treeecc293ef1657f7fe6952c44695ca3695f9b0f41e /src/yuzu/main.cpp
parentce26e786282304d55a263e7be507cb8cc123285c (diff)
Useless code removed related to admin privileges, if it is not an error we can add it later, that is what git is for.
Diffstat (limited to 'src/yuzu/main.cpp')
-rw-r--r--src/yuzu/main.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp
index 37f1c0bc4d..73cd064782 100644
--- a/src/yuzu/main.cpp
+++ b/src/yuzu/main.cpp
@@ -2962,12 +2962,6 @@ bool GMainWindow::CreateShortcutMessagesGUI(QWidget* parent, int imsg, const QSt
"not work well if you update. Continue?"),
buttons);
return result == QMessageBox::Ok;
- case GMainWindow::CREATE_SHORTCUT_MSGBOX_ADMIN:
- buttons = QMessageBox::Ok;
- QMessageBox::critical(parent, tr("Create Shortcut"),
- tr("Cannot create shortcut in Apps. Restart yuzu as administrator."),
- buttons);
- return false;
default:
buttons = QMessageBox::Ok;
QMessageBox::critical(parent, tr("Create Shortcut"),