diff options
author | Petr Mrázek <peterix@gmail.com> | 2019-07-23 00:48:14 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2019-07-23 00:48:14 +0200 |
commit | bf38021937a555249905d38cda0d4ea5fbc43fb3 (patch) | |
tree | c3b52577c1e0a1861330ff3312662148c96150aa /application/pages/instance/ScreenshotsPage.cpp | |
parent | 1e5b595923090bd19f4e5a04a5055b23e1e8678a (diff) | |
download | MultiMC-bf38021937a555249905d38cda0d4ea5fbc43fb3.tar MultiMC-bf38021937a555249905d38cda0d4ea5fbc43fb3.tar.gz MultiMC-bf38021937a555249905d38cda0d4ea5fbc43fb3.tar.lz MultiMC-bf38021937a555249905d38cda0d4ea5fbc43fb3.tar.xz MultiMC-bf38021937a555249905d38cda0d4ea5fbc43fb3.zip |
NOISSUE improve toolbars
Diffstat (limited to 'application/pages/instance/ScreenshotsPage.cpp')
-rw-r--r-- | application/pages/instance/ScreenshotsPage.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/application/pages/instance/ScreenshotsPage.cpp b/application/pages/instance/ScreenshotsPage.cpp index b470202f..d73fda51 100644 --- a/application/pages/instance/ScreenshotsPage.cpp +++ b/application/pages/instance/ScreenshotsPage.cpp @@ -223,11 +223,7 @@ ScreenshotsPage::ScreenshotsPage(QString path, QWidget *parent) m_valid = FS::ensureFolderPathExists(m_folder); ui->setupUi(this); - - QWidget* spacer = new QWidget(); - spacer->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding); - // toolBar is a pointer to an existing toolbar - ui->toolBar->insertWidget(ui->actionView_Folder, spacer); + ui->toolBar->insertSpacer(ui->actionView_Folder); ui->listView->setIconSize(QSize(128, 128)); ui->listView->setGridSize(QSize(192, 160)); |