connectionutilities/ConnectionDialogs/ConnectionUiUtilities/NotifSrc/WlanNetworkDataProvider.cpp
changeset 61 8b0c979bbe8c
parent 41 bbb64eb3bdee
equal deleted inserted replaced
59:2709c04a4af5 61:8b0c979bbe8c
   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             }