summaryrefslogtreecommitdiffstats
path: root/examples/sysinfo/dialog.cpp
diff options
context:
space:
mode:
authorLorn Potter <lorn.potter@nokia.com>2011-01-14 14:31:40 +1000
committerLorn Potter <lorn.potter@nokia.com>2011-01-14 14:31:40 +1000
commita3e115df55e720f7b3407f88259845b78d2bafdb (patch)
tree55b4e78c4a8f99f2593ae5a260f2a838f8ab85a1 /examples/sysinfo/dialog.cpp
parentb3812afe96a4cd5c63b5873add1f6c22af51252e (diff)
getOrientation -> orientation
Diffstat (limited to 'examples/sysinfo/dialog.cpp')
-rw-r--r--examples/sysinfo/dialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/sysinfo/dialog.cpp b/examples/sysinfo/dialog.cpp
index 82cfe10f74..72e626a665 100644
--- a/examples/sysinfo/dialog.cpp
+++ b/examples/sysinfo/dialog.cpp
@@ -243,7 +243,7 @@ void Dialog::setupDisplay()
brightnessLabel->setText(QString::number(di.displayBrightness(0)));
colorDepthLabel->setText(QString::number(di.colorDepth((0))));
- QSystemDisplayInfo::DisplayOrientation orientation = di.getOrientation(0);
+ QSystemDisplayInfo::DisplayOrientation orientation = di.orientation(0);
QString orientStr;
switch(orientation) {
case QSystemDisplayInfo::Landscape: