diff --git a/main.cpp b/main.cpp index 6ed51ac57..5f8fea974 100644 --- a/main.cpp +++ b/main.cpp @@ -60,6 +60,7 @@ int main(int argc, char *argv[]){ app.installTranslator(&appTranslator); MainWindow w; + w.setWindowState(w.windowState() ^ Qt::WindowMaximized); app.setWindowIcon(QIcon(":/icon/64x64/icon64x64.png")); TableWindow table; QObject::connect(&w, &MainWindow::ModelChosen, &table, &TableWindow::ModelChosen); diff --git a/mainwindow.ui b/mainwindow.ui index 5a99c2733..b842a4655 100644 --- a/mainwindow.ui +++ b/mainwindow.ui @@ -303,7 +303,7 @@ 0 0 - 137 + 150 58 @@ -379,7 +379,7 @@ 0 0 - 137 + 150 58