summaryrefslogtreecommitdiff
authordrw <drw>2005-03-03 20:20:34 (UTC)
committer drw <drw>2005-03-03 20:20:34 (UTC)
commit585c9fe0efbc0cf4037a79cac3b22ac38c08fec2 (patch) (side-by-side diff)
tree1c95831e28d9df17861a63ee8f8ae8fcfcbe7cb5
parent8f3a393c01f4fe88023c2dcf870ffa2061030f9e (diff)
downloadopie-585c9fe0efbc0cf4037a79cac3b22ac38c08fec2.zip
opie-585c9fe0efbc0cf4037a79cac3b22ac38c08fec2.tar.gz
opie-585c9fe0efbc0cf4037a79cac3b22ac38c08fec2.tar.bz2
Scale icons appropriately
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/dagger/configuredlg.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/noncore/apps/dagger/configuredlg.cpp b/noncore/apps/dagger/configuredlg.cpp
index 535659d..42bc6da 100644
--- a/noncore/apps/dagger/configuredlg.cpp
+++ b/noncore/apps/dagger/configuredlg.cpp
@@ -52,5 +52,7 @@ ConfigureDlg::ConfigureDlg( QWidget *parent, const QString &swordPath, bool alwa
QWhatsThis::add( m_swordPath, tr( "Enter the path where the Sword texts (Bibles, commentaries, etc.) can be found. This path should contain either the 'mods.conf' file or 'mods.d' sub-directory." ) );
grid->addWidget( m_swordPath, 1, 0 );
- QPushButton *btn = new QPushButton( Resource::loadPixmap( "folder" ), QString::null, widget );
+ QPixmap pic;
+ pic.convertFromImage( Resource::loadImage( "folder" ).smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) );
+ QPushButton *btn = new QPushButton( pic, QString::null, widget );
btn->setMaximumWidth( btn->height() );
QWhatsThis::add( btn, tr( "Tap here to select the path where the Sword texts (Bibles, commentaries, etc.) can be found. This path should contain either the 'mods.conf' file or 'mods.d' sub-directory." ) );