We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c9c3c2 commit ade30eeCopy full SHA for ade30ee
1 file changed
ground/gcs/src/plugins/coreplugin/mainwindow.cpp
@@ -88,6 +88,10 @@
88
#include <QDir>
89
#include <QMimeData>
90
91
+#ifdef Q_OS_WIN
92
+#include <QtPlatformHeaders/QWindowsWindowFunctions>
93
+#endif
94
+
95
using namespace Core;
96
using namespace Core::Internal;
97
@@ -1337,6 +1341,9 @@ void MainWindow::setFullScreen(bool on)
1337
1341
}
1338
1342
1339
1343
if (on) {
1344
1345
+ QWindowsWindowFunctions::setHasBorderInFullScreen(windowHandle(), true);
1346
1340
1347
setWindowState(windowState() | Qt::WindowFullScreen);
1348
} else {
1349
setWindowState(windowState() & ~Qt::WindowFullScreen);
0 commit comments