]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/FancyLineEdit.cpp
Don't allow newline characters in preference (#5840).
[lyx.git] / src / frontends / qt4 / FancyLineEdit.cpp
index f3080104c643511356e07ba1251b23b840b8b1f8..527740a3ebdf4bf59e5934e0cc44ca1da028ab31 100644 (file)
@@ -13,6 +13,8 @@
 
 #include "FancyLineEdit.h"
 
+#if QT_VERSION >= 0x040600
+
 #include <QtCore/QEvent>
 #include <QtCore/QDebug>
 #include <QtCore/QString>
@@ -302,4 +304,6 @@ void IconButton::animateShow(bool visible)
 
 }
 
+#endif // QT_VERSION >= 0x040600
+
 #include "moc_FancyLineEdit.cpp"