Merge pull request #2088 from Cacodemon345/patch-51
qt: Fix toolbar size on Windows
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user