diff -r bc5a64e5bc3c -r 5bcb308bd24d phonesettings/cpphonesettingsplugins/cpnetworkplugin/src/cpnetworkplugin.cpp --- a/phonesettings/cpphonesettingsplugins/cpnetworkplugin/src/cpnetworkplugin.cpp Tue Jul 06 14:15:47 2010 +0300 +++ b/phonesettings/cpphonesettingsplugins/cpnetworkplugin/src/cpnetworkplugin.cpp Wed Aug 18 09:48:26 2010 +0300 @@ -79,17 +79,23 @@ */ CpBaseSettingView *CpNetworkPlugin::createSettingView(const QVariant &hint) const { - Q_UNUSED(hint) DPRINT << ": IN"; CpItemDataHelper *itemDataHelper(NULL); QScopedPointer > - data( new CpSettingFormEntryItemDataImpl( + data(new CpSettingFormEntryItemDataImpl( *itemDataHelper, hbTrId("txt_cp_dblist_mobile_network"), m_networkStatus->statusText())); CpBaseSettingView *view = data->createSettingView(); + CpNetworkPluginView *networkPluginView = qobject_cast(view); + QVariantHash hash = hint.value(); + if ((hash.value("command").toString().compare("searchAvailableNetworks",Qt::CaseInsensitive) == 0) && + networkPluginView){ + networkPluginView->searchAvailableNetworks(); + } + DPRINT << ": OUT"; return view; }