main window behaving as overlay

This commit is contained in:
Hane 2024-04-06 18:42:19 +02:00
commit 9d79757a49
3 changed files with 47 additions and 39 deletions

View file

@ -1,9 +1,3 @@
//#include <stdio.h>
//#include <stdlib.h>
//#include <qapplicationstatic.h>
//#define QTBLESSED
#include <QApplication>
#include <QMainWindow>
@ -66,10 +60,12 @@ int main (int argc, char* argv[]) {
*/
//app->setStyleSheet(styleSheet);
window.calculateChildWidgetsSize();
#ifdef DEBUG
window.show();
#endif
/*
* #ifdef DEBUG
* window.calculateChildWidgetsSize();
* window.show();
* #endif
*/
return app->exec();
}