]> git.sesse.net Git - kdenlive/commitdiff
Fix compile for Nepomuk uses.
authorJean-Nicolas Artaud <jeannicolasartaud@gmail.com>
Thu, 16 Jan 2014 23:20:40 +0000 (00:20 +0100)
committerJean-Nicolas Artaud <jeannicolasartaud@gmail.com>
Thu, 16 Jan 2014 23:20:40 +0000 (00:20 +0100)
src/projectlist.cpp

index ad465df1591f49a14f55e0b2eb57fb91cc72e5e5..ddf1a8421e932c83f2a11d52cb34fe84030f3708 100644 (file)
@@ -975,7 +975,7 @@ void ProjectList::slotUpdateClipProperties(ProjectItem *clip, QMap <QString, QSt
         clip->setText(1, properties.value("description"));
         monitorItemEditing(true);
 #ifdef USE_NEPOMUK
-        if (KdenliveSettings::activate_nepomuk() && (type == Audio || type == Video || type == AV || type == Image || type == PLAYLIST)) {
+        if (KdenliveSettings::activate_nepomuk() && (type == Audio || type == Video || type == AV || type == Image || type == Playlist)) {
             // Use Nepomuk system to store clip description
             Nepomuk::Resource f(clip->clipUrl().path());
             f.setDescription(properties.value("description"));