diff options
author | leo78913 <leo3758@riseup.net> | 2023-01-09 00:51:46 -0300 |
---|---|---|
committer | leo78913 <leo3758@riseup.net> | 2023-01-20 19:45:43 -0300 |
commit | ada595663da02e951145690cd29d99454aae829b (patch) | |
tree | dfa27e28fd9f4a8c31a7a7dc2993f8b391ff5988 /launcher/ui/MainWindow.cpp | |
parent | b2de01b0760d6cb814fe570bc150ee6d891f2e9d (diff) | |
download | PrismLauncher-ada595663da02e951145690cd29d99454aae829b.tar.gz PrismLauncher-ada595663da02e951145690cd29d99454aae829b.tar.bz2 PrismLauncher-ada595663da02e951145690cd29d99454aae829b.zip |
fix(widebar): fix insertSeparator
WideBar::insertSeparator was adding the separator to the end of the toolbar
Signed-off-by: leo78913 <leo3758@riseup.net>
Diffstat (limited to 'launcher/ui/MainWindow.cpp')
-rw-r--r-- | launcher/ui/MainWindow.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/launcher/ui/MainWindow.cpp b/launcher/ui/MainWindow.cpp index 69ef3016..ca6827e0 100644 --- a/launcher/ui/MainWindow.cpp +++ b/launcher/ui/MainWindow.cpp @@ -166,6 +166,8 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWi connect(renameButton, &QToolButton::clicked, this, &MainWindow::on_actionRenameInstance_triggered); ui->instanceToolBar->insertWidgetBefore(ui->actionLaunchInstance, renameButton); + ui->instanceToolBar->insertSeparator(ui->actionLaunchInstance); + // restore the instance toolbar settings auto const setting_name = QString("WideBarVisibility_%1").arg(ui->instanceToolBar->objectName()); if (!APPLICATION->settings()->contains(setting_name)) |