[Digikam-devel] [Bug 300848] "Reread Metadata From Image" is broken
Frédéric COIFFIER
frederic.coiffier at free.fr
Thu Jun 28 10:30:35 BST 2012
https://bugs.kde.org/show_bug.cgi?id=300848
Frédéric COIFFIER <frederic.coiffier at free.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |frederic.coiffier at free.fr
--- Comment #3 from Frédéric COIFFIER <frederic.coiffier at free.fr> ---
Patch like this seems to correct the problem :
diff --git a/digikam/views/digikamview.cpp b/digikam/views/digikamview.cpp
index e461f99..b0b9bad 100644
--- a/digikam/views/digikamview.cpp
+++ b/digikam/views/digikamview.cpp
@@ -1352,13 +1352,15 @@ void DigikamView::slotAlbumReadMetadata()
void DigikamView::slotImageWriteMetadata()
{
ImageInfoList selected = d->iconView->selectedImageInfos();
- new MetadataSynchronizer(selected,
MetadataSynchronizer::WriteFromDatabaseToFile);
+ MetadataSynchronizer* tool = new MetadataSynchronizer(selected,
MetadataSynchronizer::WriteFromDatabaseToFile);
+ tool->start();
}
void DigikamView::slotImageReadMetadata()
{
ImageInfoList selected = d->iconView->selectedImageInfos();
- new MetadataSynchronizer(selected,
MetadataSynchronizer::ReadFromFileToDatabase);
+ MetadataSynchronizer* tool = new MetadataSynchronizer(selected,
MetadataSynchronizer::ReadFromFileToDatabase);
+ tool->start();
}
// ----------------------------------------------------------------
Is there a core developper to confirm ?
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Digikam-devel
mailing list