Diffstat (limited to 'noncore/apps/dagger/configuredlg.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/dagger/configuredlg.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/noncore/apps/dagger/configuredlg.cpp b/noncore/apps/dagger/configuredlg.cpp index 42bc6da..791eeb1 100644 --- a/noncore/apps/dagger/configuredlg.cpp +++ b/noncore/apps/dagger/configuredlg.cpp @@ -20,4 +20,3 @@ file; see the file COPYING. If not, write to the Free Software Foundation, Inc., #include <opie2/ofiledialog.h> - -#include <qpe/resource.h> +#include <opie2/oresource.h> @@ -53,5 +52,4 @@ ConfigureDlg::ConfigureDlg( QWidget *parent, const QString &swordPath, bool alwa grid->addWidget( m_swordPath, 1, 0 ); - QPixmap pic; - pic.convertFromImage( Resource::loadImage( "folder" ).smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) ); - QPushButton *btn = new QPushButton( pic, QString::null, widget ); + QPushButton *btn = new QPushButton( Opie::Core::OResource::loadPixmap( "folder", Opie::Core::OResource::SmallIcon ), + QString::null, widget ); btn->setMaximumWidth( btn->height() ); |