Update launcher/ui/MainWindow.cpp
Co-authored-by: flow <flowlnlnln@gmail.com> Signed-off-by: leo78913 <leo3758@riseup.net>
This commit is contained in:
parent
3d11d044d2
commit
0938f80b41
@ -930,7 +930,7 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new MainWindow
|
|||||||
{
|
{
|
||||||
bool toolbarsLocked = APPLICATION->settings()->get("ToolbarsLocked").toBool();
|
bool toolbarsLocked = APPLICATION->settings()->get("ToolbarsLocked").toBool();
|
||||||
ui->actionLockToolbars->setChecked(toolbarsLocked);
|
ui->actionLockToolbars->setChecked(toolbarsLocked);
|
||||||
connect(ui->actionLockToolbars.operator->(), SIGNAL(toggled(bool)), SLOT(lockToolbars(bool)));
|
connect(ui->actionLockToolbars, &QAction::toggled, this, &MainWindow::lockToolbars);
|
||||||
lockToolbars(toolbarsLocked);
|
lockToolbars(toolbarsLocked);
|
||||||
}
|
}
|
||||||
// start instance when double-clicked
|
// start instance when double-clicked
|
||||||
|
Loading…
Reference in New Issue
Block a user