Diffstat (limited to 'core/pim/osearch/mainwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/osearch/mainwindow.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/core/pim/osearch/mainwindow.cpp b/core/pim/osearch/mainwindow.cpp index 1d0331c..d71b167 100644 --- a/core/pim/osearch/mainwindow.cpp +++ b/core/pim/osearch/mainwindow.cpp @@ -20,15 +20,14 @@ #include "doclnksearch.h" #include "mainwindow.h" #include <opie2/odebug.h> +#include <opie2/oresource.h> #include <opie2/owait.h> #include <qpe/qpemessagebox.h> -#include <qpe/resource.h> #include <qpe/config.h> - #include <qpe/qpeapplication.h> #include <qpe/global.h> #include <qtoolbar.h> @@ -164,9 +163,9 @@ void MainWindow::makeMenu() //SEARCH SearchAllAction = new QAction( tr("Search all"),QString::null, 0, this, 0 ); - SearchAllAction->setIconSet( Resource::loadIconSet( "find" ) ); + SearchAllAction->setIconSet( Opie::Core::OResource::loadPixmap( "find", Opie::Core::OResource::SmallIcon ) ); // QWhatsThis::add( SearchAllAction, tr("Search everything...") ); connect( SearchAllAction, SIGNAL(activated()), this, SLOT(searchAll()) ); SearchAllAction->addTo( searchMenu ); searchMenu->insertItem( tr( "Options" ), searchOptions ); |