From 9ff62f0c2df088d12ca766629cf761f4bd205d43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole-Andr=C3=A9=20Rodlie?= Date: Sun, 11 Aug 2024 08:05:03 +0200 Subject: [PATCH] Theme/HiDPI: fix some icons --- src/app/GUI/timelinedockwidget.cpp | 4 ++-- src/app/GUI/toolbox.cpp | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/app/GUI/timelinedockwidget.cpp b/src/app/GUI/timelinedockwidget.cpp index 4b97ddf56..6b61c580a 100644 --- a/src/app/GUI/timelinedockwidget.cpp +++ b/src/app/GUI/timelinedockwidget.cpp @@ -234,9 +234,9 @@ TimelineDockWidget::TimelineDockWidget(Document& document, eSizesUI::widget.add(mToolBar, [this](const int size) { mRenderProgress->setFixedHeight(size); - if (eSettings::instance().fCurrentInterfaceDPI != 1.) { + //if (eSettings::instance().fCurrentInterfaceDPI != 1.) { mToolBar->setIconSize(QSize(size, size)); - } + //} }); QWidget *spacerWidget1 = new QWidget(this); diff --git a/src/app/GUI/toolbox.cpp b/src/app/GUI/toolbox.cpp index 5add5471e..5d2e1ecb2 100644 --- a/src/app/GUI/toolbox.cpp +++ b/src/app/GUI/toolbox.cpp @@ -38,13 +38,13 @@ void MainWindow::setupToolBox() setupToolBoxNodes(); setupToolBoxDraw(); - /*eSizesUI::widget.add(mToolBoxMain, [this](const int size) { - if (eSettings::instance().fCurrentInterfaceDPI != 1.) { + eSizesUI::widget.add(mToolBoxMain, [this](const int size) { + //if (eSettings::instance().fCurrentInterfaceDPI != 1.) { mToolBoxMain->setIconSize(QSize(size, size)); mToolBoxNodes->setIconSize(QSize(size, size)); mToolBoxDraw->setIconSize(QSize(size, size)); - } - });*/ + //} + }); mToolBoxMainIndex = mToolBoxStack->addWidget(mToolBoxMain); mToolBoxNodesIndex = mToolBoxExtraStack->addWidget(mToolBoxNodes);