diff -r 56b72877c1cb -r d07e190ed096 wlanutilities/wlansniffer/aiplugin/src/wsfaicontroller.cpp --- a/wlanutilities/wlansniffer/aiplugin/src/wsfaicontroller.cpp Thu Dec 17 09:20:28 2009 +0200 +++ b/wlanutilities/wlansniffer/aiplugin/src/wsfaicontroller.cpp Thu Jan 07 13:31:53 2010 +0200 @@ -32,6 +32,7 @@ #include #include #include +#include // CLASS HEADER #include "wsfaicontroller.h" @@ -1141,12 +1142,9 @@ if ( !wlanArray || !wlanArray->Count() ) { // there are no available networks - HBufC* infoText = StringLoader::LoadLC( - R_QTN_WLAN_INFO_NO_NETWORKS_FOUND ); - CAknInformationNote* infoNote = new (ELeave) - CAknInformationNote( ETrue ); - infoNote->ExecuteLD( *infoText ); - CleanupStack::PopAndDestroy( infoText ); + CConnectionUiUtilities* connUiUtils = CConnectionUiUtilities::NewL(); + connUiUtils->NoWLANNetworksAvailableNote(); + delete connUiUtils; } // launch the search dialog