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
This commit is contained in:
Vincent van Ravesteijn 2011-06-06 18:14:07 +00:00
parent 1f81d78814
commit 8968000e16

View 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