yuzu-emu
/
yuzu-android
Archived
1
0
Fork 0

Useless code removed related to admin privileges, if it is not an error we can add it later, that is what git is for.

This commit is contained in:
boludoz 2023-10-18 01:26:50 -03:00
parent 2a7edda70a
commit 4051bbbed7
2 changed files with 0 additions and 7 deletions

View File

@ -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"),

View File

@ -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: