summaryrefslogtreecommitdiffstats
path: root/tests/manual/bearerex
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
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')
-rw-r--r--tests/manual/bearerex/bearerex.cpp3
-rw-r--r--tests/manual/bearerex/bearerex.pro2
2 files changed, 3 insertions, 2 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);
}
diff --git a/tests/manual/bearerex/bearerex.pro b/tests/manual/bearerex/bearerex.pro
index df39c85..397261d 100644
--- a/tests/manual/bearerex/bearerex.pro
+++ b/tests/manual/bearerex/bearerex.pro
@@ -25,4 +25,4 @@ SOURCES += bearerex.cpp \
xqlistwidget.cpp \
datatransferer.cpp
-symbian:TARGET.CAPABILITY = NetworkServices NetworkControl ReadUserData
+symbian:TARGET.CAPABILITY = NetworkServices NetworkControl ReadUserData WriteDeviceData ReadDeviceData