examples/network/bearermonitor/sessionwidget.cpp
changeset 37 758a864f9613
parent 30 5dc02b23752f
--- a/examples/network/bearermonitor/sessionwidget.cpp	Fri Sep 17 08:34:18 2010 +0300
+++ b/examples/network/bearermonitor/sessionwidget.cpp	Mon Oct 04 01:19:32 2010 +0300
@@ -111,11 +111,11 @@
         killTimer(statsTimer);
 
     if (session->configuration().type() == QNetworkConfiguration::InternetAccessPoint)
-        bearer->setText(session->configuration().bearerName());
+        bearer->setText(session->configuration().bearerTypeName());
     else {
         QNetworkConfigurationManager mgr;
         QNetworkConfiguration c = mgr.configurationFromIdentifier(session->sessionProperty("ActiveConfiguration").toString());
-        bearer->setText(c.bearerName());
+        bearer->setText(c.bearerTypeName());
     }
 
 #ifndef QT_NO_NETWORKINTERFACE