summaryrefslogtreecommitdiffstats
path: root/tests/manual/bearerex/bearerex.cpp
diff options
context:
space:
mode:
authorAaron McCarthy <aaron.mccarthy@nokia.com>2010-07-26 02:48:44 (GMT)
committerAaron McCarthy <aaron.mccarthy@nokia.com>2010-07-28 04:42:55 (GMT)
commit34691d27d03abc0c8f940b4a0a3cda4cd308642e (patch)
tree67d860064a771527c54fb88ec0ce2fbb07d83815 /tests/manual/bearerex/bearerex.cpp
parentc16f0a839743af36b36aea9c35f0d5ddfda3d6ac (diff)
downloadQt-34691d27d03abc0c8f940b4a0a3cda4cd308642e.zip
Qt-34691d27d03abc0c8f940b4a0a3cda4cd308642e.tar.gz
Qt-34691d27d03abc0c8f940b4a0a3cda4cd308642e.tar.bz2
Cherry pick fix for MOBILITY-1194 from Qt Mobility.
2f582953ecfc53f217317f58e4fc75b5b51a1126
Diffstat (limited to 'tests/manual/bearerex/bearerex.cpp')
-rw-r--r--tests/manual/bearerex/bearerex.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/manual/bearerex/bearerex.cpp b/tests/manual/bearerex/bearerex.cpp
index 6f280db..2f90837 100644
--- a/tests/manual/bearerex/bearerex.cpp
+++ b/tests/manual/bearerex/bearerex.cpp
@@ -433,6 +433,7 @@ void SessionTab::opened()
iapLineEdit->setText(config.name()+" ("+config.identifier()+")");
}
}
+ newState(m_NetworkSession->state()); // Update the "(open)"
if (m_NetworkSession->configuration().type() == QNetworkConfiguration::UserChoice) {
QVariant identifier = m_NetworkSession->sessionProperty("UserChoiceConfiguration");
@@ -523,7 +524,7 @@ void SessionTab::newState(QNetworkSession::State state)
QString active;
if (m_NetworkSession->isOpen()) {
- active = " (O)";
+ active = " (open)";
}
stateLineEdit->setText(stateString(state)+active);
}