set main window fullscreen
This commit is contained in:
parent
d2d730589b
commit
19274546c9
1
main.cpp
1
main.cpp
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user