summaryrefslogtreecommitdiffstats
path: root/examples/sysinfo/dialog.cpp
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2010-11-10 18:42:30 +0100
committerQt Continuous Integration System <qt-info@nokia.com>2010-11-10 18:42:30 +0100
commit631021ac5db1b2a01467d4eacc44c9e92d56c62f (patch)
treed5e61eff17e1452dcbba5fd4f315a98724da1433 /examples/sysinfo/dialog.cpp
parentfd1a8a515f3bde7cf86bd9ff688c7e179adafc14 (diff)
parent5d0629c494e9767e641fc2ac7c3c754adbb4bfdc (diff)
Merge branch 'master' of scm.dev.nokia.troll.no:qtmobility/qtm-systeminfo into master-integration
* 'master' of scm.dev.nokia.troll.no:qtmobility/qtm-systeminfo: some needed opti style change. get rid of dbus output. update text boxes later ofono has new methods, update to fix.
Diffstat (limited to 'examples/sysinfo/dialog.cpp')
-rw-r--r--examples/sysinfo/dialog.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/examples/sysinfo/dialog.cpp b/examples/sysinfo/dialog.cpp
index aec06110e6..d80023e27e 100644
--- a/examples/sysinfo/dialog.cpp
+++ b/examples/sysinfo/dialog.cpp
@@ -333,17 +333,19 @@ void Dialog::setupNetwork()
connect(ni,SIGNAL(networkModeChanged(QSystemNetworkInfo::NetworkMode)),
this,SLOT(networkModeChanged(QSystemNetworkInfo::NetworkMode)));
+
+ networkModeChanged(ni->currentMode());
+ netStatusComboBox->setCurrentIndex((int)ni->currentMode());
+ netStatusComboActivated((int)ni->currentMode());
+
cellIdLabel->setText(QString::number(ni->cellId()));
locationAreaCodeLabel->setText(QString::number(ni->locationAreaCode()));
currentMCCLabel->setText(ni->currentMobileCountryCode());
currentMNCLabel->setText(ni->currentMobileNetworkCode());
homeMCCLabel->setText(ni->homeMobileCountryCode());
- homeMNCLabel->setText(ni->homeMobileNetworkCode());
- networkModeChanged(ni->currentMode());
- netStatusComboBox->setCurrentIndex((int)ni->currentMode());
- netStatusComboActivated((int)ni->currentMode());
+ homeMNCLabel->setText(ni->homeMobileNetworkCode());
}
void Dialog::netStatusComboActivated(int index)
{