author | tille <tille> | 2003-01-03 19:55:12 (UTC) |
---|---|---|
committer | tille <tille> | 2003-01-03 19:55:12 (UTC) |
commit | b261b5539e99e32b0f3e8b03c3ccba22c3b765e3 (patch) (side-by-side diff) | |
tree | 8a22b19a75712a599237e5c26296c44c1edfe957 /noncore/apps/odict/searchmethoddlg.cpp | |
parent | d9818c21de144d42e5626bf8b9545bc592ce8ea1 (diff) | |
download | opie-b261b5539e99e32b0f3e8b03c3ccba22c3b765e3.zip opie-b261b5539e99e32b0f3e8b03c3ccba22c3b765e3.tar.gz opie-b261b5539e99e32b0f3e8b03c3ccba22c3b765e3.tar.bz2 |
path fix ;)
Diffstat (limited to 'noncore/apps/odict/searchmethoddlg.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/odict/searchmethoddlg.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/apps/odict/searchmethoddlg.cpp b/noncore/apps/odict/searchmethoddlg.cpp index 203c663..8a14703 100644 --- a/noncore/apps/odict/searchmethoddlg.cpp +++ b/noncore/apps/odict/searchmethoddlg.cpp @@ -26,6 +26,7 @@ #include <qpushbutton.h> #include <qstring.h> #include <qlineedit.h> +#include <qdir.h> #include <opie/ofileselector.h> #include <opie/ofiledialog.h> @@ -90,7 +91,7 @@ void SearchMethodDlg::setupEntries( QString item ) void SearchMethodDlg::slotBrowse() { - itemName=OFileDialog::getOpenFileName( OFileSelector::EXTENDED,"/home/carsten" ); + itemName=OFileDialog::getOpenFileName( OFileSelector::EXTENDED,QDir::homeDirPath()); dictFileLE->setText( itemName ); } |