Avoid Q_INTERFACES-related warning with Qt >= 4.6
[quassel.git] / src / qtui / columnhandleitem.h
index 9274473..2947bba 100644 (file)
@@ -30,6 +30,9 @@
 
 class ColumnHandleItem : public QObject, public QGraphicsItem {
   Q_OBJECT
+#if QT_VERSION >= 0x040600
+  Q_INTERFACES(QGraphicsItem)
+#endif
 
 public:
   ColumnHandleItem(qreal width, QGraphicsItem *parent = 0);