X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fchatviewsearchcontroller.h;h=2ad0edaac377e42d2ad0e66b45fbc2053064f8c0;hp=66e09085f0d2237989ee727106fb9cde526326b0;hb=2fabb938a014186c2aa7aa1a1b885c6afa353f1e;hpb=30b77d8f6e230f97e706e5a6630add16b88bda3f diff --git a/src/qtui/chatviewsearchcontroller.h b/src/qtui/chatviewsearchcontroller.h index 66e09085..2ad0edaa 100644 --- a/src/qtui/chatviewsearchcontroller.h +++ b/src/qtui/chatviewsearchcontroller.h @@ -90,7 +90,11 @@ private: class SearchHighlightItem : public QObject, public QGraphicsItem { Q_OBJECT + +// Apparently, there are broken Qt 4.8.2 mocs around that will fail without this (otherwise useless) #if... looking at you, Wheezy! +#if QT_VERSION >= 0x040600 Q_INTERFACES(QGraphicsItem) +#endif public : SearchHighlightItem(QRectF wordRect, QGraphicsItem *parent = 0);