connectionutilities/ConnectionDialogs/ConnectionUiUtilities/NotifSrc/SelectWLanDlgPlugin.cpp
--- 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;