connectionutilities/ConnectionDialogs/ConnectionUiUtilities/NotifSrc/SelectWLanDlgPlugin.cpp
branchRCL_3
changeset 24 05bc53fe583b
parent 17 0a9e01492035
child 25 83ca720e2b9a
--- a/connectionutilities/ConnectionDialogs/ConnectionUiUtilities/NotifSrc/SelectWLanDlgPlugin.cpp	Thu Aug 19 10:18:49 2010 +0300
+++ b/connectionutilities/ConnectionDialogs/ConnectionUiUtilities/NotifSrc/SelectWLanDlgPlugin.cpp	Tue Aug 31 15:35:44 2010 +0300
@@ -84,13 +84,6 @@
     {
     CLOG_ENTERFN( "CSelectWLanDlgPlugin::StartL " );  
     
-    if ( ScreenSaverOn() || AutolockOn() )
-        {
-        // Screen saver or Autolock is active. Cancel the dialog. 
-        aMessage.Complete( KErrCancel );
-        return;
-        }
-    
     TPckgBuf<TBool> asyncVersion;
     asyncVersion.Copy( aBuffer );
 
@@ -110,7 +103,8 @@
         {
         aMessage.ReadL( aReplySlot, iNetworkPrefs );
     
-        TRAPD( err, iActivePlugin = CActiveSelectWLanDlgPlugin::NewL( this ) ); 
+        TInt err( KErrNone );
+        TRAP( err, iActivePlugin = CActiveSelectWLanDlgPlugin::NewL( this ) ); 
         if ( err )
             {
             delete iActivePlugin;