diff options
author | leo78913 <leo3758@riseup.net> | 2022-11-05 18:10:36 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-05 18:10:36 -0300 |
commit | 0938f80b4148cfc1734636e15da5ddb8b9a7bdfb (patch) | |
tree | 63f92e30f6fbf97a19003cd19c77cce7c28d92ca /launcher/ui | |
parent | 3d11d044d2849c098187de4e973a8787538f4496 (diff) | |
download | PrismLauncher-0938f80b4148cfc1734636e15da5ddb8b9a7bdfb.tar.gz PrismLauncher-0938f80b4148cfc1734636e15da5ddb8b9a7bdfb.tar.bz2 PrismLauncher-0938f80b4148cfc1734636e15da5ddb8b9a7bdfb.zip |
Update launcher/ui/MainWindow.cpp
Co-authored-by: flow <flowlnlnln@gmail.com>
Signed-off-by: leo78913 <leo3758@riseup.net>
Diffstat (limited to 'launcher/ui')
-rw-r--r-- | launcher/ui/MainWindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/ui/MainWindow.cpp b/launcher/ui/MainWindow.cpp index ef056fcb..7bbc1bde 100644 --- a/launcher/ui/MainWindow.cpp +++ b/launcher/ui/MainWindow.cpp @@ -930,7 +930,7 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new MainWindow { bool toolbarsLocked = APPLICATION->settings()->get("ToolbarsLocked").toBool(); ui->actionLockToolbars->setChecked(toolbarsLocked); - connect(ui->actionLockToolbars.operator->(), SIGNAL(toggled(bool)), SLOT(lockToolbars(bool))); + connect(ui->actionLockToolbars, &QAction::toggled, this, &MainWindow::lockToolbars); lockToolbars(toolbarsLocked); } // start instance when double-clicked |