[Digikam-devel] extragear/graphics/digikam/libs/widgets/metadata

Gilles Caulier caulier.gilles at free.fr
Fri Mar 24 11:22:21 GMT 2006


SVN commit 522075 by cgilles:

digikam from trunk : metadata sidebar tab : Displaying FNumber tag value to the simple view if ApertureValue tag isn't present.

CCMAIL: digikam-devel at kde.org
CCBUGS: 121371


 M  +1 -0      exifwidget.cpp  
 M  +9 -8      makernotewidget.cpp  


--- trunk/extragear/graphics/digikam/libs/widgets/metadata/exifwidget.cpp #522074:522075
@@ -72,6 +72,7 @@
      "Sharpness",
      "LightSource",
      "Flash",
+     "FNumber",
      "-1"
 };
 
--- trunk/extragear/graphics/digikam/libs/widgets/metadata/makernotewidget.cpp #522074:522075
@@ -50,7 +50,7 @@
 namespace Digikam
 {
 
-static char* ExifHumanList[] =
+static char* MakerNoteHumanList[] =
 {
      "Make",
      "Model",
@@ -73,27 +73,28 @@
      "Sharpness",
      "LightSource",
      "Flash",
+     "FNumber",
      "-1"
 };
 
-static char* StandardExifEntryList[] =
+static char* ExifEntryListToIgnore[] =
 {
-     "Image",
-     "Photo",
      "GPSInfo",
      "Iop",
      "Thumbnail",
+     "Image",
+     "Photo",
      "-1"
 };
 
 MakerNoteWidget::MakerNoteWidget(QWidget* parent, const char* name)
                : MetadataWidget(parent, name)
 {
-    for (int i=0 ; QString(StandardExifEntryList[i]) != QString("-1") ; i++)
-        m_keysFilter << StandardExifEntryList[i];
+    for (int i=0 ; QString(ExifEntryListToIgnore[i]) != QString("-1") ; i++)
+        m_keysFilter << ExifEntryListToIgnore[i];
 
-    for (int i=0 ; QString(ExifHumanList[i]) != QString("-1") ; i++)
-        m_tagsfilter << ExifHumanList[i];
+    for (int i=0 ; QString(MakerNoteHumanList[i]) != QString("-1") ; i++)
+        m_tagsfilter << MakerNoteHumanList[i];
 }
 
 MakerNoteWidget::~MakerNoteWidget()



More information about the Digikam-devel mailing list