summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLorn Potter <lorn.potter@gmail.com>2018-06-05 09:07:25 +1000
committerLorn Potter <lorn.potter@gmail.com>2018-06-05 04:25:49 +0000
commita5d3e0c505ea0524548d61121933cf93435fd8a9 (patch)
treee4fb41953b6b9d3067f2d40307d56dca1467e12b
parente7adaf997019864ab1d52a208a0a797aafb04d5a (diff)
wasm: remove obsolete code to restrict window geometry
Change-Id: I3c4b18cdad7a164664838d822e72f351b8d58a02 Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
-rw-r--r--src/gui/kernel/qguiapplication.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gui/kernel/qguiapplication.cpp b/src/gui/kernel/qguiapplication.cpp
index 393a49587c..cc66827b41 100644
--- a/src/gui/kernel/qguiapplication.cpp
+++ b/src/gui/kernel/qguiapplication.cpp
@@ -264,11 +264,7 @@ static bool checkRunningUnderFlatpak()
}
// Using aggregate initialization instead of ctor so we can have a POD global static
-#ifdef Q_OS_HTML5 //this keeps the screen on screen for whatever reason
-#define Q_WINDOW_GEOMETRY_SPECIFICATION_INITIALIZER { Qt::TopLeftCorner, 4, 0, -1, -1 }
-#else
#define Q_WINDOW_GEOMETRY_SPECIFICATION_INITIALIZER { Qt::TopLeftCorner, -1, -1, -1, -1 }
-#endif
// Geometry specification for top level windows following the convention of the
// -geometry command line arguments in X11 (see XParseGeometry).
struct QWindowGeometrySpecification