summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/linphone/mainwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/net/linphone/mainwindow.cpp b/noncore/net/linphone/mainwindow.cpp
index 1bd9987..5b9b867 100644
--- a/noncore/net/linphone/mainwindow.cpp
+++ b/noncore/net/linphone/mainwindow.cpp
@@ -1,6 +1,6 @@
#include <qlayout.h>
-#include <qpe/resource.h>
+#include <opie2/oresource.h>
#include <qpe/qpeapplication.h>
#include "mainwindow.h"
#include "linphoneconfig.h"
@@ -16,9 +16,9 @@ MainWindow::MainWindow( QWidget *parent, const char *name, WFlags flags )
menuBar = new QMenuBar( toolBar );
prefMenu = new QPopupMenu( menuBar );
menuBar->insertItem( tr( "Connection" ), prefMenu );
- settings = new QAction( tr("Settings"), QIconSet( Resource::loadPixmap("SettingsIcon") ), 0, 0, this);
+ settings = new QAction( tr("Settings"), Opie::Core::OResource::loadPixmap("SettingsIcon", Opie::Core::OResource::SmallIcon) ), 0, 0, this);
settings->addTo( prefMenu );
connect( settings, SIGNAL( activated() ),
SLOT( slotSettings() ) );