summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar boludoz2023-10-18 01:26:50 -0300
committerGravatar boludoz2023-10-18 01:26:50 -0300
commit4051bbbed7f0160a6565212affbbb24553a9b510 (patch)
treeecc293ef1657f7fe6952c44695ca3695f9b0f41e /src
parentDeleted admin requisite (maybe it was another mistake). (diff)
downloadyuzu-4051bbbed7f0160a6565212affbbb24553a9b510.tar.gz
yuzu-4051bbbed7f0160a6565212affbbb24553a9b510.tar.xz
yuzu-4051bbbed7f0160a6565212affbbb24553a9b510.zip
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')
-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
2962 "not work well if you update. Continue?"), 2962 "not work well if you update. Continue?"),
2963 buttons); 2963 buttons);
2964 return result == QMessageBox::Ok; 2964 return result == QMessageBox::Ok;
2965 case GMainWindow::CREATE_SHORTCUT_MSGBOX_ADMIN:
2966 buttons = QMessageBox::Ok;
2967 QMessageBox::critical(parent, tr("Create Shortcut"),
2968 tr("Cannot create shortcut in Apps. Restart yuzu as administrator."),
2969 buttons);
2970 return false;
2971 default: 2965 default:
2972 buttons = QMessageBox::Ok; 2966 buttons = QMessageBox::Ok;
2973 QMessageBox::critical(parent, tr("Create Shortcut"), 2967 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 {
157 CREATE_SHORTCUT_MSGBOX_SUCCESS, 157 CREATE_SHORTCUT_MSGBOX_SUCCESS,
158 CREATE_SHORTCUT_MSGBOX_ERROR, 158 CREATE_SHORTCUT_MSGBOX_ERROR,
159 CREATE_SHORTCUT_MSGBOX_APPVOLATILE_WARNING, 159 CREATE_SHORTCUT_MSGBOX_APPVOLATILE_WARNING,
160 CREATE_SHORTCUT_MSGBOX_ADMIN,
161 }; 160 };
162 161
163public: 162public: