Avoid Q_INTERFACES-related warning with Qt >= 4.6
[quassel.git] / src / qtui / chatviewsearchcontroller.h
index adf1c96..9e3adf5 100644 (file)
@@ -91,6 +91,9 @@ private:
 
 class SearchHighlightItem : public QObject, public QGraphicsItem {
   Q_OBJECT
+#if QT_VERSION >= 0x040600
+  Q_INTERFACES(QGraphicsItem)
+#endif
 
 public:
   SearchHighlightItem(QRectF wordRect, QGraphicsItem *parent = 0);