]> git.sesse.net Git - kdenlive/commitdiff
Fix compile with Nepomuk activated.
authorJean-Nicolas Artaud <jeannicolasartaud@gmail.com>
Mon, 13 Jan 2014 20:52:14 +0000 (21:52 +0100)
committerJean-Nicolas Artaud <jeannicolasartaud@gmail.com>
Mon, 13 Jan 2014 20:52:14 +0000 (21:52 +0100)
src/projectlist.cpp

index a024e06c457862afa420e439ae48b1fc4828417d..04150d1e2fa094536da118b15856cd6f5840fe39 100644 (file)
@@ -974,13 +974,13 @@ void ProjectList::slotUpdateClipProperties(ProjectItem *clip, QMap <QString, QSt
         monitorItemEditing(false);
         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)) {
+//#ifdef USE_NEPOMUK
+        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"));
         }
-#endif
+//#endif
         emit projectModified();
     }
 }