mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-30 23:50:19 -07:00
Start in maximized window on first start (#3075)
This commit is contained in:
@@ -782,8 +782,9 @@ MainWindow::MainWindow(QWidget *parent)
|
||||
|
||||
retranslateUi();
|
||||
|
||||
resize(900, 700);
|
||||
restoreGeometry(settingsCache->getMainWindowGeometry());
|
||||
if (!restoreGeometry(settingsCache->getMainWindowGeometry())) {
|
||||
setWindowState(Qt::WindowMaximized);
|
||||
}
|
||||
aFullScreen->setChecked(static_cast<bool>(windowState() & Qt::WindowFullScreen));
|
||||
|
||||
if (QSystemTrayIcon::isSystemTrayAvailable()) {
|
||||
|
||||
Reference in New Issue
Block a user