set main window fullscreen

This commit is contained in:
Gerhard Hoffmann 2023-08-04 13:39:17 +02:00
parent d2d730589b
commit 19274546c9

View File

@ -146,6 +146,7 @@ int main(int argc, char *argv[]) {
MainWindow mw(&worker); MainWindow mw(&worker);
mw.setWindowFlags(Qt::Window | Qt::FramelessWindowHint); mw.setWindowFlags(Qt::Window | Qt::FramelessWindowHint);
mw.setWindowState(Qt::WindowFullScreen);
mw.show(); mw.show();
return a.exec(); return a.exec();