mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-11-15 09:20:05 +00: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
@ -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 New Issue
Block a user