summaryrefslogtreecommitdiffstats
path: root/application/pages/instance/ScreenshotsPage.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2019-07-23 00:48:14 +0200
committerPetr Mrázek <peterix@gmail.com>2019-07-23 00:48:14 +0200
commitbf38021937a555249905d38cda0d4ea5fbc43fb3 (patch)
treec3b52577c1e0a1861330ff3312662148c96150aa /application/pages/instance/ScreenshotsPage.cpp
parent1e5b595923090bd19f4e5a04a5055b23e1e8678a (diff)
downloadMultiMC-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.cpp6
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));