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:
parent
a1db174ea9
commit
873f04481e
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user