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>
This commit is contained in:
Jorgen Lind 2013-11-27 15:18:59 +01:00 committed by The Qt Project
parent b8ff073c0d
commit dc03e0c429

View File

@ -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;