summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2020-09-11 18:36:00 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2020-09-12 01:53:55 +0200
commit1c6d01b846f2152e7215c98cfa09e668c880da7e (patch)
tree3928f6c6163e4d7becef673afce36339ac012d39
parent455619d3875e0e0e7a03734806d61c7998735cd4 (diff)
Remove duplicate includes
Most of the includes were included twice Change-Id: Ie2967e9d8ef4799c28a856ade7318d24bac391c6 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
-rw-r--r--src/core/ozone/surface_factory_qt.cpp15
1 files changed, 5 insertions, 10 deletions
diff --git a/src/core/ozone/surface_factory_qt.cpp b/src/core/ozone/surface_factory_qt.cpp
index 533a97abc..12b997148 100644
--- a/src/core/ozone/surface_factory_qt.cpp
+++ b/src/core/ozone/surface_factory_qt.cpp
@@ -37,19 +37,14 @@
**
****************************************************************************/
+#if defined(USE_OZONE)
#include "surface_factory_qt.h"
-#include "gl_context_qt.h"
-#include "gl_ozone_egl_qt.h"
-#if defined(USE_GLX)
-#include "gl_ozone_glx_qt.h"
-#endif
-
-#include "ui/gl/gl_surface.h"
-#if defined(USE_OZONE)
+#include "ozone/gl_context_qt.h"
#include "ozone/gl_ozone_egl_qt.h"
-#include "ozone/surface_factory_qt.h"
-#include "ui/gl/gl_surface.h"
+#if defined(USE_GLX)
+#include "ozone/gl_ozone_glx_qt.h"
+#endif
namespace QtWebEngineCore {