]> git.lyx.org Git - features.git/blobdiff - src/frontends/qt4/FancyLineEdit.cpp
Move the #if up, because older Qt's can't include QtCore/QPropertyAnimation.
[features.git] / src / frontends / qt4 / FancyLineEdit.cpp
index da4dc7e1a6a98dd76e4faaa1cc67263bde2e7b7a..527740a3ebdf4bf59e5934e0cc44ca1da028ab31 100644 (file)
@@ -13,6 +13,8 @@
 
 #include "FancyLineEdit.h"
 
+#if QT_VERSION >= 0x040600
+
 #include <QtCore/QEvent>
 #include <QtCore/QDebug>
 #include <QtCore/QString>
@@ -26,8 +28,6 @@
 #include <QtGui/QStyle>
 #include <QtGui/QPaintEvent>
 
-#if QT_VERSION >= 0x040600
-
 enum { margin = 6 };
 
 #define ICONBUTTON_HEIGHT 18