Diffstat (limited to 'noncore/settings/aqpkg/installdlgimpl.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/aqpkg/installdlgimpl.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/settings/aqpkg/installdlgimpl.cpp b/noncore/settings/aqpkg/installdlgimpl.cpp index d2babb4..da21cef 100644 --- a/noncore/settings/aqpkg/installdlgimpl.cpp +++ b/noncore/settings/aqpkg/installdlgimpl.cpp | |||
@@ -54,12 +54,13 @@ | |||
54 | #include "instoptionsimpl.h" | 54 | #include "instoptionsimpl.h" |
55 | #include "installdlgimpl.h" | 55 | #include "installdlgimpl.h" |
56 | #include "ipkg.h" | 56 | #include "ipkg.h" |
57 | #include "utils.h" | 57 | #include "utils.h" |
58 | #include "global.h" | 58 | #include "global.h" |
59 | 59 | ||
60 | using namespace Opie::Ui; | ||
60 | enum { | 61 | enum { |
61 | MAXLINES = 100, | 62 | MAXLINES = 100, |
62 | }; | 63 | }; |
63 | 64 | ||
64 | InstallDlgImpl::InstallDlgImpl( const QList<InstallData> &packageList, DataManager *dataManager, const char *title ) | 65 | InstallDlgImpl::InstallDlgImpl( const QList<InstallData> &packageList, DataManager *dataManager, const char *title ) |
65 | : QWidget( 0, 0, 0 ) | 66 | : QWidget( 0, 0, 0 ) |
@@ -230,13 +231,13 @@ void InstallDlgImpl :: optionsSelected() | |||
230 | QStringList text; | 231 | QStringList text; |
231 | text << "text/*"; | 232 | text << "text/*"; |
232 | map.insert(tr( "Text" ), text ); | 233 | map.insert(tr( "Text" ), text ); |
233 | text << "*"; | 234 | text << "*"; |
234 | map.insert( tr( "All" ), text ); | 235 | map.insert( tr( "All" ), text ); |
235 | 236 | ||
236 | QString filename = Opie::OFileDialog::getSaveFileName( 2, "/", "ipkg-output", map ); | 237 | QString filename = OFileDialog::getSaveFileName( 2, "/", "ipkg-output", map ); |
237 | if( !filename.isEmpty() ) | 238 | if( !filename.isEmpty() ) |
238 | { | 239 | { |
239 | QString currentFileName = QFileInfo( filename ).fileName(); | 240 | QString currentFileName = QFileInfo( filename ).fileName(); |
240 | DocLnk doc; | 241 | DocLnk doc; |
241 | doc.setType( "text/plain" ); | 242 | doc.setType( "text/plain" ); |
242 | doc.setFile( filename ); | 243 | doc.setFile( filename ); |