Git commit 355e66202d4d1a6136f7a63b476a726189138a7a by Marcel Wiesweg. Committed on 29/04/2013 at 19:45. Pushed by mwiesweg into branch 'master'. Use edit hints in the GPS plugin (metadata change only writes out data whic= h is also communicated via attributes; the host need not do anything with the changed= files) M +8 -1 gpssync/kipiimageitem.cpp http://commits.kde.org/kipi-plugins/355e66202d4d1a6136f7a63b476a726189138a7a diff --git a/gpssync/kipiimageitem.cpp b/gpssync/kipiimageitem.cpp index bf6441f..0f9e029 100644 --- a/gpssync/kipiimageitem.cpp +++ b/gpssync/kipiimageitem.cpp @@ -837,11 +837,18 @@ QString KipiImageItem::saveChanges(const bool toInter= face, const bool toFile) = if (success) { - success =3D meta->save(m_url.path()); + #if KIPI_VERSION >=3D 0x020100 + EditHintScope editHintScope(m_interface, m_url.toLocalFile(), Hint= MetadataOnlyChange); + #endif + + success =3D meta->save(m_url.toLocalFile()); = if (!success) { returnString =3D i18n("Unable to save changes to file"); + #if KIPI_VERSION >=3D 0x020100 + editHintScope.changeAborted(); + #endif } else {