Remove hasOpenGL. This changes breaks binary compatibillity
authorJørgen Lind <jorgen.lind@nokia.com>
Thu, 14 Apr 2011 13:48:36 +0000 (15:48 +0200)
committerJørgen Lind <jorgen.lind@nokia.com>
Thu, 14 Apr 2011 13:48:36 +0000 (15:48 +0200)
so you will need to use $QTBUILDDIR/bin/syncqt and recompile all
applications

src/plugins/platforms/wayland/qwaylandintegration.cpp
src/plugins/platforms/wayland/qwaylandintegration.h

index 04f3d9a..3f3ee5e 100644 (file)
@@ -75,6 +75,7 @@ bool QWaylandIntegration::hasCapability(QPlatformIntegration::Capability cap) co
 {
     switch (cap) {
     case ThreadedPixmaps: return true;
+    case OpenGL: return hasOpenGL();
     default: return QPlatformIntegration::hasCapability(cap);
     }
 }
index 20f8c5c..fc9b8d6 100644 (file)
@@ -63,9 +63,9 @@ public:
 
     QPlatformFontDatabase *fontDatabase() const;
 
+private:
     bool hasOpenGL() const;
 
-private:
     QPlatformFontDatabase *mFontDb;
     QWaylandDisplay *mDisplay;
     bool mUseOpenGL;