From b86723182311fa621451c2641acf62b3b89dceeb Mon Sep 17 00:00:00 2001 From: drw Date: Wed, 15 Jun 2005 19:04:33 +0000 Subject: Resource -> OResource and fix compiler warning --- (limited to 'noncore/settings/networksettings/wlan') diff --git a/noncore/settings/networksettings/wlan/wlanimp2.cpp b/noncore/settings/networksettings/wlan/wlanimp2.cpp index 2fd97c3..0c18bcc 100644 --- a/noncore/settings/networksettings/wlan/wlanimp2.cpp +++ b/noncore/settings/networksettings/wlan/wlanimp2.cpp @@ -12,7 +12,7 @@ #include #include #include -#include +#include using namespace Opie::Core; using namespace Opie::Net; @@ -602,7 +602,7 @@ void WLANImp::displayFoundNetwork( const QString& mode, int channel, const QStri QListViewItem* item = new QListViewItem( netView, mode.left( 1 ).upper(), ssid, QString::number( channel ), mac.toString() ); QString name; name.sprintf( "networksettings/%s", (const char*) mode ); - item->setPixmap( col_mode, Resource::loadPixmap( name ) ); + item->setPixmap( col_mode, Opie::Core::OResource::loadPixmap( name, Opie::Core::OResource::SmallIcon ) ); qApp->processEvents(); } -- cgit v0.9.0.2