summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Kelly <stephen.kelly@kdab.com>2012-07-19 11:51:34 +0200
committerQt by Nokia <qt-info@nokia.com>2012-07-19 12:03:21 +0200
commit873f04481e80423ecf6359214373ca0b959d1558 (patch)
tree7faecee2e8920a7599ebb9e68d7cbe16fab0f9fe
parenta1db174ea98fab8669da498639895bac4c894baf (diff)
Dereference so we can be sure the type is not forward declared.
Change-Id: I4d67a08dc645649e767153f3aa0dc57b15d50a84 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
-rw-r--r--tests/auto/cmake/test_private_includes/main.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/auto/cmake/test_private_includes/main.cpp b/tests/auto/cmake/test_private_includes/main.cpp
index e4dec045fe..4f4457bfa1 100644
--- a/tests/auto/cmake/test_private_includes/main.cpp
+++ b/tests/auto/cmake/test_private_includes/main.cpp
@@ -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;
}