summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorboludoz <francomaro@gmail.com>2023-10-18 06:26:50 +0200
committerboludoz <francomaro@gmail.com>2023-10-18 06:26:50 +0200
commit4051bbbed7f0160a6565212affbbb24553a9b510 (patch)
treeecc293ef1657f7fe6952c44695ca3695f9b0f41e /src
parentDeleted admin requisite (maybe it was another mistake). (diff)
downloadyuzu-4051bbbed7f0160a6565212affbbb24553a9b510.tar
yuzu-4051bbbed7f0160a6565212affbbb24553a9b510.tar.gz
yuzu-4051bbbed7f0160a6565212affbbb24553a9b510.tar.bz2
yuzu-4051bbbed7f0160a6565212affbbb24553a9b510.tar.lz
yuzu-4051bbbed7f0160a6565212affbbb24553a9b510.tar.xz
yuzu-4051bbbed7f0160a6565212affbbb24553a9b510.tar.zst
yuzu-4051bbbed7f0160a6565212affbbb24553a9b510.zip
Diffstat (limited to 'src')
-rw-r--r--src/yuzu/main.cpp6
-rw-r--r--src/yuzu/main.h1
2 files changed, 0 insertions, 7 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"),
diff --git a/src/yuzu/main.h b/src/yuzu/main.h
index 41902cc8d..d203e5301 100644
--- a/src/yuzu/main.h
+++ b/src/yuzu/main.h
@@ -157,7 +157,6 @@ class GMainWindow : public QMainWindow {
CREATE_SHORTCUT_MSGBOX_SUCCESS,
CREATE_SHORTCUT_MSGBOX_ERROR,
CREATE_SHORTCUT_MSGBOX_APPVOLATILE_WARNING,
- CREATE_SHORTCUT_MSGBOX_ADMIN,
};
public: