summaryrefslogtreecommitdiff
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
commit4051bbbed7f0160a6565212affbbb24553a9b510 (patch)
treeecc293ef1657f7fe6952c44695ca3695f9b0f41e /src/yuzu/main.cpp
parent2a7edda70ac7bfcce6a830c814a6b8cd559b8c03 (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 37f1c0bc4..73cd06478 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"),