From a5d3e0c505ea0524548d61121933cf93435fd8a9 Mon Sep 17 00:00:00 2001 From: Lorn Potter Date: Tue, 5 Jun 2018 09:07:25 +1000 Subject: wasm: remove obsolete code to restrict window geometry MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I3c4b18cdad7a164664838d822e72f351b8d58a02 Reviewed-by: Morten Johan Sørvig --- src/gui/kernel/qguiapplication.cpp | 4 ---- 1 file changed, 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 -- cgit v1.2.3