]> git.lyx.org Git - features.git/blobdiff - src/frontends/qt4/FancyLineEdit.cpp
Revert r38963. Compilation is now broken with qt 4.5, but I do not know Qt moc busine...
[features.git] / src / frontends / qt4 / FancyLineEdit.cpp
index 428e0a184970aaf1c004dca149e5074bcb9db68e..da4dc7e1a6a98dd76e4faaa1cc67263bde2e7b7a 100644 (file)
 
 // Code taken from the Qt Creator project and customized a little
 
-#include <config.h>
-
 #include "FancyLineEdit.h"
 
-#if QT_VERSION >= 0x040600
-
 #include <QtCore/QEvent>
 #include <QtCore/QDebug>
 #include <QtCore/QString>
@@ -30,6 +26,8 @@
 #include <QtGui/QStyle>
 #include <QtGui/QPaintEvent>
 
+#if QT_VERSION >= 0x040600
+
 enum { margin = 6 };
 
 #define ICONBUTTON_HEIGHT 18