summaryrefslogtreecommitdiff
path: root/noncore/applets/notesapplet
authordrw <drw>2005-05-24 22:29:46 (UTC)
committer drw <drw>2005-05-24 22:29:46 (UTC)
commit3a7dd5b0904cdea71d486ffdea8bfd1aedb0af59 (patch) (side-by-side diff)
tree2573d5c8bdad9d95eede843615a5baa1a45bbc95 /noncore/applets/notesapplet
parenta2542a161d15feface21954afcd26f9ec51f131f (diff)
downloadopie-3a7dd5b0904cdea71d486ffdea8bfd1aedb0af59.zip
opie-3a7dd5b0904cdea71d486ffdea8bfd1aedb0af59.tar.gz
opie-3a7dd5b0904cdea71d486ffdea8bfd1aedb0af59.tar.bz2
Resource -> OResource
Diffstat (limited to 'noncore/applets/notesapplet') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/applets/notesapplet/notes.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/applets/notesapplet/notes.cpp b/noncore/applets/notesapplet/notes.cpp
index d06672a..13f297e 100644
--- a/noncore/applets/notesapplet/notes.cpp
+++ b/noncore/applets/notesapplet/notes.cpp
@@ -18,13 +18,13 @@
/* OPIE */
#include <opie2/odebug.h>
#include <opie2/otaskbarapplet.h>
+#include <opie2/oresource.h>
#include <qpe/filemanager.h>
#include <qpe/qpeapplication.h>
#include <qpe/timestring.h>
#include <qpe/applnk.h>
#include <qpe/ir.h>
#include <qpe/config.h>
-#include <qpe/resource.h>
using namespace Opie::Core;
using namespace Opie::Ui;
@@ -432,7 +432,7 @@ NotesApplet::NotesApplet( QWidget *parent, const char *name )
: QWidget( parent, name ) {
setFixedHeight( AppLnk::smallIconSize() );
setFixedWidth( AppLnk::smallIconSize() );
- notesPixmap.convertFromImage( Resource::loadImage( "edit" ).smoothScale( height(), width() ) );
+ notesPixmap = Opie::Core::OResource::loadImage( "edit", Opie::Core::OResource::SmallIcon );
vc = new NotesControl;
}