author | llornkcor <llornkcor> | 2002-11-03 18:14:36 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-11-03 18:14:36 (UTC) |
commit | 7d282e8e721d4c7c71a6d308d082da7138139484 (patch) (unidiff) | |
tree | cd37bc23214230258054562657a1d5eff49232b7 | |
parent | 8b3893f3b11731151c19274d2c9ed22d7a00a2b3 (diff) | |
download | opie-7d282e8e721d4c7c71a6d308d082da7138139484.zip opie-7d282e8e721d4c7c71a6d308d082da7138139484.tar.gz opie-7d282e8e721d4c7c71a6d308d082da7138139484.tar.bz2 |
fix ofileselector open
-rw-r--r-- | noncore/multimedia/showimg/showimg.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/multimedia/showimg/showimg.cpp b/noncore/multimedia/showimg/showimg.cpp index 0fbffe7..d6f0733 100644 --- a/noncore/multimedia/showimg/showimg.cpp +++ b/noncore/multimedia/showimg/showimg.cpp | |||
@@ -530,17 +530,17 @@ void ImageViewer::show(const QString& fileref) | |||
530 | void ImageViewer::openFile() { | 530 | void ImageViewer::openFile() { |
531 | MimeTypes types; | 531 | MimeTypes types; |
532 | QStringList image; | 532 | QStringList image; |
533 | image << "image/*"; | 533 | image << "image/*"; |
534 | types.insert("Images", image); | 534 | types.insert("Images", image); |
535 | 535 | ||
536 | QString str = OFileDialog::getOpenFileName( 1,QPEApplication::documentDir(),"", types, 0 ); | 536 | QString str = OFileDialog::getOpenFileName( 1,QPEApplication::documentDir(),"", types, 0 ); |
537 | DocLnk link(str); | 537 | DocLnk link(str); |
538 | if ( link.isValid() ) | 538 | // if ( link.isValid() ) |
539 | openFile(link); | 539 | openFile(link); |
540 | 540 | ||
541 | } | 541 | } |
542 | 542 | ||
543 | void ImageViewer::openFile( const DocLnk &link ) | 543 | void ImageViewer::openFile( const DocLnk &link ) |
544 | { | 544 | { |
545 | closeFileSelector(); | 545 | closeFileSelector(); |
546 | // DocLnk link(file); | 546 | // DocLnk link(file); |