tests: Fix warning about requiring to call init after qApp

This commit is contained in:
Sergio Martins
2022-04-29 18:05:24 +01:00
parent fcf02fc8bf
commit 8d09acdf5f
3 changed files with 8 additions and 0 deletions

View File

@@ -114,6 +114,7 @@ QSize Platform_qtwidgets::screenSizeFor(View *view) const
#ifdef DOCKS_DEVELOPER_MODE
Platform_qtwidgets::Platform_qtwidgets(int argc, char *argv[])
: Platform_qt(argc, argv)
{
qputenv("KDDOCKWIDGETS_SHOW_DEBUG_WINDOW", "");
new QApplication(argc, argv);