diff -r 5bcb308bd24d -r 6aaf0276100e phonesettings/cpphonesettingsplugins/cptelephonyutils/src/cpplugincommon.cpp --- a/phonesettings/cpphonesettingsplugins/cptelephonyutils/src/cpplugincommon.cpp Wed Aug 18 09:48:26 2010 +0300 +++ b/phonesettings/cpphonesettingsplugins/cptelephonyutils/src/cpplugincommon.cpp Thu Sep 02 20:26:16 2010 +0300 @@ -271,7 +271,11 @@ bool CpSettingsWrapper::isPhoneOffline() const { - return QSystemDeviceInfo::OfflineProfile == m_deviceInfo->currentProfile(); + bool networkConnectionAllowed = readCenrepValue(KCRUidCoreApplicationUIs.iUid, + KCoreAppUIsNetworkConnectionAllowed).toBool(); + // 0 = Offline Mode, 1 = Online Mode + DPRINT << "networkConnectionAllowed: " << networkConnectionAllowed; + return !networkConnectionAllowed; } bool CpSettingsWrapper::isOngoingCall() const