qt: Fix toolbar size on Windows

This commit is contained in:
Cacodemon345
2022-02-10 03:34:10 +06:00
committed by GitHub
parent aba4d28ecb
commit 3aea1650fa

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