We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 43fe159 + af2258b commit 1406df6Copy full SHA for 1406df6
src/mainwindow.cpp
@@ -357,6 +357,10 @@ void MainWindow::setupMainWindow()
357
flags = Qt::Window; // cppcheck-suppress redundantInitialization // false positive
358
# endif
359
setWindowFlags(flags);
360
+#else
361
+# if QT_VERSION >= QT_VERSION_CHECK(6, 9, 0)
362
+ setAttribute(Qt::WA_ContentsMarginsRespectsSafeArea, false);
363
+# endif
364
#endif
365
366
#if defined(Q_OS_UNIX) && !defined(Q_OS_MACOS)
0 commit comments