diff options
author | Sérgio Martins <sergio.martins@kdab.com> | 2014-08-11 19:28:23 +0100 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2014-08-13 08:47:54 +0200 |
commit | bf9a4ef8b4210bd1f434828911361008ea2350ec (patch) | |
tree | 1a9c5af5fe1424956da78dea282ff38c7c1c5967 /src/widgets/styles/qstyleanimation.cpp | |
parent | f2c7ea717874664ee4927f500efc244fde585d31 (diff) |
Fix QT_NO_ANIMATION build
Change-Id: Ia589e703206d6ca675a392e634e2a445dcf4cca3
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'src/widgets/styles/qstyleanimation.cpp')
-rw-r--r-- | src/widgets/styles/qstyleanimation.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/widgets/styles/qstyleanimation.cpp b/src/widgets/styles/qstyleanimation.cpp index 85dc357ab5..6668be8307 100644 --- a/src/widgets/styles/qstyleanimation.cpp +++ b/src/widgets/styles/qstyleanimation.cpp @@ -40,6 +40,9 @@ ****************************************************************************/ #include "qstyleanimation_p.h" + +#ifndef QT_NO_ANIMATION + #include <qcoreapplication.h> #include <qwidget.h> #include <qevent.h> @@ -344,3 +347,5 @@ void QScrollbarStyleAnimation::updateCurrentTime(int time) } QT_END_NAMESPACE + +#endif //QT_NO_ANIMATION |