mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
GUI: primaryScreen -> primaryScreen()
This commit is contained in:
parent
15b8024712
commit
18ede09761
@ -216,7 +216,7 @@ MainWindow::MainWindow(QWidget *parent, Qt::WindowFlags fl)
|
|||||||
// Standard width 360 too narrow
|
// Standard width 360 too narrow
|
||||||
if (saved_geometry.isNull()) {
|
if (saved_geometry.isNull()) {
|
||||||
// Seems this is necessary on macOS to get a reasonable initial height
|
// Seems this is necessary on macOS to get a reasonable initial height
|
||||||
setMinimumSize(QSize(460, (int) (QApplication::primaryScreen->availableSize().height() * 0.9f)));
|
setMinimumSize(QSize(460, (int) (QApplication::primaryScreen()->availableSize().height() * 0.9f)));
|
||||||
} else {
|
} else {
|
||||||
setMinimumSize(QSize(460, 0));
|
setMinimumSize(QSize(460, 0));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user