From 8968000e16f5e869f1cb26c0b617c0400483edf2 Mon Sep 17 00:00:00 2001 From: Vincent van Ravesteijn Date: Mon, 6 Jun 2011 18:14:07 +0000 Subject: [PATCH] Move the #if up, because older Qt's can't include QtCore/QPropertyAnimation. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38970 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/FancyLineEdit.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/frontends/qt4/FancyLineEdit.cpp b/src/frontends/qt4/FancyLineEdit.cpp index da4dc7e1a6..527740a3eb 100644 --- a/src/frontends/qt4/FancyLineEdit.cpp +++ b/src/frontends/qt4/FancyLineEdit.cpp @@ -13,6 +13,8 @@ #include "FancyLineEdit.h" +#if QT_VERSION >= 0x040600 + #include #include #include @@ -26,8 +28,6 @@ #include #include -#if QT_VERSION >= 0x040600 - enum { margin = 6 }; #define ICONBUTTON_HEIGHT 18