[Digikam-devel] [Bug 134206] rethink about: Iptc.Application2.Urgency <==> digiKam Rating

Moritz moritz.esser at gmx.de
Sun Sep 17 14:00:12 BST 2006


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=134206         




------- Additional Comments From moritz.esser gmx de  2006-09-17 15:00 -------
--- digikam/libs/dmetadata/dmetadata.cpp        (Revision 585584)
+++ digikam/libs/dmetadata/dmetadata.cpp        (Arbeitskopie)
 @ -1155,9 +1155,9  @
 0 star  <=>  8          // Least important
 1 star  <=>  7
 1 star  <==  6
-2 star  <=>  5
-3 star  <=>  4
-4 star  <==  3
+1 star  <=>  5
+2 star  <=>  4
+3 star  <==  3
 4 star  <=>  2
 5 star  <=>  1          // Most important
 */
 @ -1184,11 +1184,11  @
                 else if (IptcUrgency == QString("2"))
                     return 4;
                 else if (IptcUrgency == QString("3"))
-                    return 4;
+                    return 3;
                 else if (IptcUrgency == QString("4"))
-                    return 3;
+                    return 2;
                 else if (IptcUrgency == QString("5"))
-                    return 2;
+                    return 1;
                 else if (IptcUrgency == QString("6"))
                     return 1;
                 else if (IptcUrgency == QString("7"))



More information about the Digikam-devel mailing list