From 3aea1650fadca3e2ef5c14ad9a3bb3a4cee3ab9b Mon Sep 17 00:00:00 2001 From: Cacodemon345 Date: Thu, 10 Feb 2022 03:34:10 +0600 Subject: [PATCH] qt: Fix toolbar size on Windows --- src/qt/qt_mainwindow.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/qt/qt_mainwindow.cpp b/src/qt/qt_mainwindow.cpp index ece9a6982..1eead1845 100644 --- a/src/qt/qt_mainwindow.cpp +++ b/src/qt/qt_mainwindow.cpp @@ -416,9 +416,6 @@ MainWindow::MainWindow(QWidget *parent) : } #endif -#ifdef _WIN32 - ui->toolBar->setIconSize(QSize(16 * screen()->devicePixelRatio(), 16 * screen()->devicePixelRatio())); -#endif setContextMenuPolicy(Qt::PreventContextMenu); }