Dereference so we can be sure the type is not forward declared.

Change-Id: I4d67a08dc645649e767153f3aa0dc57b15d50a84
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
This commit is contained in:
Stephen Kelly 2012-07-19 11:51:34 +02:00 committed by Qt by Nokia
parent a1db174ea9
commit 873f04481e

View File

@ -47,6 +47,8 @@ int main(int argc, char **argv)
{
QGuiApplication app(argc, argv);
QPlatformScreen *handle = app.screens().first()->handle();
QPlatformScreen *screenHandle = app.screens().first()->handle();
screenHandle->geometry();
return 0;
}