Merge pull request #2088 from Cacodemon345/patch-51

qt: Fix toolbar size on Windows
This commit is contained in:
Miran Grča
2022-02-09 22:36:02 +01:00
committed by GitHub

View File

@@ -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);
}