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,8 +1,8 @@
#include <qlayout.h>
-#include <qpe/resource.h>
+#include <opie2/oresource.h>
#include <qpe/qpeapplication.h>
#include "mainwindow.h"
#include "linphoneconfig.h"
MainWindow::MainWindow( QWidget *parent, const char *name, WFlags flags )
@@ -14,13 +14,13 @@ MainWindow::MainWindow( QWidget *parent, const char *name, WFlags flags )
toolBar = new QToolBar( this );
toolBar->setHorizontalStretchable( true );
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() ) );
mainWidget = new QLinphoneMainWidget( this, "qlinphone", WStyle_ContextHelp );
setCentralWidget( mainWidget );