extragear/graphics/digikam/libs/dialogs

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

extragear/graphics/digikam/libs/dialogs

Bugzilla from andi.clemens@gmx.net
SVN commit 1006012 by aclemens:

change order of filetype patterns:
1. All Images
2. All RAW files
3. the rest...

For me the filedialog is broken, can you confirm this (it was broken
before this commit, before anyone asks ;-)).
If I open showFoto and click on "Open" (not "Open Folder"), I can select
any filter, I will not see my files. The only thing that seems to work
is "All RAW files", but still when hitting "Ok" the photo is not loaded
into showFoto.

Can someone confirm this?

CCMAIL:[hidden email]

 M  +4 -4      imagedialog.cpp  


--- trunk/extragear/graphics/digikam/libs/dialogs/imagedialog.cpp #1006011:1006012
@@ -247,20 +247,20 @@
     {
         allPictures.insert(allPictures.indexOf("|"), QString(KDcrawIface::DcrawBinary::instance()->rawFiles()) + QString(" *.JPE *.TIF *.PGF"));
         patternList.removeAll(patternList[0]);
-        patternList.prepend(allPictures);
         // Added RAW file formats supported by dcraw program like a type mime.
         // Note: we cannot use here "image/x-raw" type mime from KDE because it is incomplete
         // or unavailable(see file #121242 in B.K.O).
-        patternList.append(i18n("\n%1|Camera RAW files", QString(KDcrawIface::DcrawBinary::instance()->rawFiles())));
+        patternList.prepend(i18n("\n%1|Camera RAW files", QString(KDcrawIface::DcrawBinary::instance()->rawFiles())));
+        patternList.prepend(allPictures);
     }
 #else
     allPictures.insert(allPictures.indexOf("|"), QString(KDcrawIface::KDcraw::rawFiles()) + QString(" *.JPE *.TIF *.PGF"));
     patternList.removeAll(patternList[0]);
-    patternList.prepend(allPictures);
     // Added RAW file formats supported by dcraw program like a type mime.
     // Note: we cannot use here "image/x-raw" type mime from KDE because it is incomplete
     // or unavailable(see file #121242 in B.K.O).
-    patternList.append(i18n("%1|Camera RAW files", QString(KDcrawIface::KDcraw::rawFiles())));
+    patternList.prepend(i18n("%1|Camera RAW files", QString(KDcrawIface::KDcraw::rawFiles())));
+    patternList.prepend(allPictures);
 #endif
     patternList.append(i18n("*.pgf|Progressive Graphics file"));
 
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel