]> git.lyx.org Git - features.git/blobdiff - src/frontends/qt4/FancyLineEdit.h
compilation fix for Qt 4.5
[features.git] / src / frontends / qt4 / FancyLineEdit.h
index ec472eed8c7ee8cc3f652f91693f7d3f39025b4c..89ef45b4abc35b97ed0bf82bc2eb3ff917ab146a 100644 (file)
@@ -22,6 +22,7 @@ namespace frontend {
 
 class FancyLineEditPrivate;
 
+#if QT_VERSION >= 0x040600
 class IconButton: public QAbstractButton
 {
        Q_OBJECT
@@ -44,7 +45,7 @@ private:
     bool m_autoHide;
     QPixmap m_pixmap;
 };
-
+#endif
 
 /* A line edit with an embedded pixmap on one side that is connected to
  * a menu. Additionally, it can display a grayed hintText (like "Type Here to")