]> git.sesse.net Git - kdenlive/commitdiff
Fix compilation with KDE < 4.4:
authorJean-Baptiste Mardelle <jb@kdenlive.org>
Thu, 23 Sep 2010 15:32:01 +0000 (15:32 +0000)
committerJean-Baptiste Mardelle <jb@kdenlive.org>
Thu, 23 Sep 2010 15:32:01 +0000 (15:32 +0000)
http://kdenlive.org/mantis/view.php?id=1824

svn path=/trunk/kdenlive/; revision=4925

src/mainwindow.cpp

index 57d374d4577d5aa07f528792a003e59fc3d8b13d..605eb01e7088ce73df4ceee77b24a30239018363 100644 (file)
@@ -202,7 +202,9 @@ MainWindow::MainWindow(const QString &MltPath, const KUrl & Url, const QString &
     m_notesDock->setObjectName("notes_widget");
     m_notesWidget = new KTextEdit();
     m_notesWidget->setTabChangesFocus(true);
+#if KDE_IS_VERSION(4,4,0)
     m_notesWidget->setClickMessage(i18n("Enter your project notes here..."));
+#endif
     m_notesDock->setWidget(m_notesWidget);
     addDockWidget(Qt::TopDockWidgetArea, m_notesDock);