Diffstat (limited to 'noncore/apps/dagger/configuredlg.cpp') (more/less context) (show 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 | |||
@@ -18,8 +18,7 @@ file; see the file COPYING. If not, write to the Free Software Foundation, Inc., | |||
18 | #include "configuredlg.h" | 18 | #include "configuredlg.h" |
19 | 19 | ||
20 | #include <opie2/ofiledialog.h> | 20 | #include <opie2/ofiledialog.h> |
21 | 21 | #include <opie2/oresource.h> | |
22 | #include <qpe/resource.h> | ||
23 | 22 | ||
24 | #include <qlabel.h> | 23 | #include <qlabel.h> |
25 | #include <qlayout.h> | 24 | #include <qlayout.h> |
@@ -51,9 +50,8 @@ ConfigureDlg::ConfigureDlg( QWidget *parent, const QString &swordPath, bool alwa | |||
51 | m_swordPath = new QLineEdit( swordPath, widget ); | 50 | m_swordPath = new QLineEdit( swordPath, widget ); |
52 | 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." ) ); | 51 | 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." ) ); |
53 | grid->addWidget( m_swordPath, 1, 0 ); | 52 | grid->addWidget( m_swordPath, 1, 0 ); |
54 | QPixmap pic; | 53 | QPushButton *btn = new QPushButton( Opie::Core::OResource::loadPixmap( "folder", Opie::Core::OResource::SmallIcon ), |
55 | pic.convertFromImage( Resource::loadImage( "folder" ).smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) ); | 54 | QString::null, widget ); |
56 | QPushButton *btn = new QPushButton( pic, QString::null, widget ); | ||
57 | btn->setMaximumWidth( btn->height() ); | 55 | btn->setMaximumWidth( btn->height() ); |
58 | 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." ) ); | 56 | 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." ) ); |
59 | connect( btn, SIGNAL(clicked()), this, SLOT(slotSelectSwordPath()) ); | 57 | connect( btn, SIGNAL(clicked()), this, SLOT(slotSelectSwordPath()) ); |