mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-27 01:02:48 +01:00
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:
parent
2a7edda70a
commit
4051bbbed7
2 changed files with 0 additions and 7 deletions
|
@ -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"),
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue