|
[Amarok] wrap setOpacity calls in a Qt 4.5 ifdef, so it com: msg#12936kde-commits
commit 4762b515c60106f2aec53a7d76764ee2c49f082d Author: Leo Franchi <lfranchi@xxxxxxx> AuthorDate: Fri Jul 31 11:11:58 2009 -0400 Commit: Leo Franchi <lfranchi@xxxxxxx> CommitDate: Fri Jul 31 11:11:58 2009 -0400 wrap setOpacity calls in a Qt 4.5 ifdef, so it compiles with 4.4 diff --git a/src/context/applets/photos/PhotosScrollWidget.cpp b/src/context/applets/photos/PhotosScrollWidget.cpp index e6cd1c1..46264b6 100644 --- a/src/context/applets/photos/PhotosScrollWidget.cpp +++ b/src/context/applets/photos/PhotosScrollWidget.cpp @@ -447,6 +447,8 @@ void PhotosScrollWidget::animate( qreal anim ) break; } +// setOpacity is a 4.5 method +#if QT_VERSION >= 0x040500 case PHOTOS_MODE_FADING : { if ( !m_pixmaplist.empty() ) // just for prevention, this should never appears @@ -458,6 +460,7 @@ void PhotosScrollWidget::animate( qreal anim ) break; } +#endif } }
|
|
||||||||||||||||||||||||||
| News | Mail Home | sitemap | FAQ | advertise |