summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/xcb
diff options
context:
space:
mode:
authorJorgen Lind <jorgen.lind@digia.com>2013-11-27 15:18:59 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-11-27 18:50:36 +0100
commitdc03e0c429c4398ca7905285a30741a7ad8c9daf (patch)
tree6b0c04ac94548db6e849e4f422d6f32af5de5f80 /src/plugins/platforms/xcb
parentb8ff073c0d0a955776038fde1c16d471c875a4c3 (diff)
Return the xcb_screen_t and not the QPlatformScreen
from QXcbNativeInterface. The QPlatformScreen is available from QScreen::handle() Change-Id: If81daf34c07f4a49c85c43d3755d1a9167626d6d Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com> Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
Diffstat (limited to 'src/plugins/platforms/xcb')
-rw-r--r--src/plugins/platforms/xcb/qxcbnativeinterface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platforms/xcb/qxcbnativeinterface.cpp b/src/plugins/platforms/xcb/qxcbnativeinterface.cpp
index aeda1e11d1..33ae60a017 100644
--- a/src/plugins/platforms/xcb/qxcbnativeinterface.cpp
+++ b/src/plugins/platforms/xcb/qxcbnativeinterface.cpp
@@ -212,7 +212,7 @@ void *QXcbNativeInterface::nativeResourceForWindow(const QByteArray &resourceStr
result = connectionForWindow(window);
break;
case Screen:
- result = qPlatformScreenForWindow(window);
+ result = screenForWindow(window);
break;
default:
break;