]> git.sesse.net Git - kdenlive/commitdiff
Fix compilation with KDE < 4.7
authorJean-Baptiste Mardelle <jb@kdenlive.org>
Wed, 21 Dec 2011 15:32:52 +0000 (16:32 +0100)
committerJean-Baptiste Mardelle <jb@kdenlive.org>
Wed, 21 Dec 2011 15:32:52 +0000 (16:32 +0100)
src/projectlist.cpp

index 5c3458bc6e71a471aac832ed11d55b93084b59df..e8c5eec90216e47f116a31be1e7b4808a2ced4ae 100644 (file)
@@ -3117,6 +3117,7 @@ void ProjectList::slotJobCrashed(ProjectItem *item, const QString &label, const
 
 void ProjectList::slotShowJobLog()
 {
+#if KDE_IS_VERSION(4,7,0)
     KDialog d(this);
     d.setButtons(KDialog::Close);
     QTextEdit t(&d);
@@ -3124,6 +3125,7 @@ void ProjectList::slotShowJobLog()
     t.setReadOnly(true);
     d.setMainWidget(&t);
     d.exec();
+#endif
 }
 
 #include "projectlist.moc"