From: Jean-Baptiste Mardelle Date: Sat, 22 May 2010 19:19:12 +0000 (+0000) Subject: Fix compilation with Qt < 4.6 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=7ffee54717137194b75ed54be8cc3ec118c6f78e;p=kdenlive Fix compilation with Qt < 4.6 svn path=/trunk/kdenlive/; revision=4471 --- diff --git a/src/titlewidget.cpp b/src/titlewidget.cpp index fb11a962..441d14ce 100644 --- a/src/titlewidget.cpp +++ b/src/titlewidget.cpp @@ -2115,7 +2115,9 @@ void TitleWidget::slotAddEffect(int ix) switch (effect) { case NOEFFECT: item->setData(100, QVariant()); +#if QT_VERSION >= 0x040600 item->setGraphicsEffect(0); +#endif break; case TYPEWRITEREFFECT: /*