diff options
author | Lars Knoll <lars.knoll@nokia.com> | 2011-08-24 14:46:24 +0200 |
---|---|---|
committer | Jørgen Lind <jorgen.lind@nokia.com> | 2011-08-25 09:31:39 +0200 |
commit | 82f95318d61dbfebaa04182de2445a6576a621cd (patch) | |
tree | aabdbb2f6e05e0933004e507898f194248e032c2 /src/plugins/platforms/xlib/main.cpp | |
parent | b2c4c4fc2aee411b4476c6a351688060785aed7e (diff) |
Fix the xlib backend for lighthouse
Adapt the backend to the changes in lighthouse.
Change-Id: If2d795c901143a80eed4f23d14add6ab9f42750b
Reviewed-on: http://codereview.qt.nokia.com/3568
Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
Diffstat (limited to 'src/plugins/platforms/xlib/main.cpp')
-rw-r--r-- | src/plugins/platforms/xlib/main.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/plugins/platforms/xlib/main.cpp b/src/plugins/platforms/xlib/main.cpp index 63eba3288b..b4241fa228 100644 --- a/src/plugins/platforms/xlib/main.cpp +++ b/src/plugins/platforms/xlib/main.cpp @@ -54,10 +54,7 @@ public: QStringList QXlibIntegrationPlugin::keys() const { QStringList list; - list << "Xlib"; -#ifndef QT_NO_OPENGL - list << "XlibGL"; -#endif + list << "xlib"; return list; } @@ -66,10 +63,6 @@ QPlatformIntegration* QXlibIntegrationPlugin::create(const QString& system, cons Q_UNUSED(paramList); if (system.toLower() == "xlib") return new QXlibIntegration; -#ifndef QT_NO_OPENGL - if (system.toLower() == "xlibgl") - return new QXlibIntegration(true); -#endif return 0; } |