connectionutilities/ConnectionDialogs/ConnectionUiUtilities/NotifSrc/WlanNetworkDataProvider.cpp
changeset 66 ed07dcc72692
parent 47 cb7afde124a3
equal deleted inserted replaced
64:84c6623982f6 66:ed07dcc72692
   353     if ( FeatureManager::FeatureSupported( KFeatureIdOfflineMode ) )
   353     if ( FeatureManager::FeatureSupported( KFeatureIdOfflineMode ) )
   354         {
   354         {
   355         CRepository* repository = CRepository::NewLC( 
   355         CRepository* repository = CRepository::NewLC( 
   356                                                     KCRUidCoreApplicationUIs );
   356                                                     KCRUidCoreApplicationUIs );
   357         TInt connAllowed = 1;
   357         TInt connAllowed = 1;
   358         repository->Get( KCoreAppUIsNetworkConnectionAllowed, connAllowed );
   358         (void) repository->Get( KCoreAppUIsNetworkConnectionAllowed, connAllowed );
   359         CleanupStack::PopAndDestroy();  // repository
   359         CleanupStack::PopAndDestroy();  // repository
   360         if ( !connAllowed )
   360         if ( !connAllowed )
   361             {
   361             {
   362             return ETrue;
   362             return ETrue;
   363             }
   363             }