author | drw <drw> | 2005-06-09 20:47:58 (UTC) |
---|---|---|
committer | drw <drw> | 2005-06-09 20:47:58 (UTC) |
commit | 650c69e864bdfa61137e028efde767527c3c1562 (patch) (side-by-side diff) | |
tree | 69c425ba79f1d9252e65819082c91dedfd450900 /noncore/settings/appearance2/appearance.cpp | |
parent | ccc819750468aa161255e863dac4d2ca55ace253 (diff) | |
download | opie-650c69e864bdfa61137e028efde767527c3c1562.zip opie-650c69e864bdfa61137e028efde767527c3c1562.tar.gz opie-650c69e864bdfa61137e028efde767527c3c1562.tar.bz2 |
Resource -> OResource
Diffstat (limited to 'noncore/settings/appearance2/appearance.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/appearance2/appearance.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/noncore/settings/appearance2/appearance.cpp b/noncore/settings/appearance2/appearance.cpp index 93e28fa..eea1a19 100644 --- a/noncore/settings/appearance2/appearance.cpp +++ b/noncore/settings/appearance2/appearance.cpp @@ -360,17 +360,17 @@ QWidget *Appearance::createAdvancedTab ( QWidget *parent, Config &cfg ) rotbtngrp-> hide ( ); rotbtngrp-> setExclusive ( true ); rotbtngrp-> insert ( m_rotdir_cw ); rotbtngrp-> insert ( m_rotdir_ccw ); rotbtngrp-> insert ( m_rotdir_flip ); - QImage ccwImage = Resource::loadImage( "redo" ); + QImage ccwImage = Opie::Core::OResource::loadImage( "redo", Opie::Core::OResource::SmallIcon ); QPixmap cw, ccw, flip; - cw.convertFromImage( ccwImage.smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) ); - ccw.convertFromImage( ccwImage.smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ).mirror( 1, 0 ) ); - flip.convertFromImage( Resource::loadImage( "pass" ).smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) ); + cw.convertFromImage( ccwImage ); + ccw.convertFromImage( ccwImage.mirror( 1, 0 ) ); + flip.convertFromImage( Opie::Core::OResource::loadImage( "pass", Opie::Core::OResource::SmallIcon ) ); m_rotdir_cw-> setPixmap( cw ); m_rotdir_ccw-> setPixmap( ccw ); m_rotdir_flip-> setPixmap( flip ); rotLay-> addWidget ( rotlabel, 0 ); |