X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fchatviewsearchcontroller.h;h=d2a9dd8e5d0d700fca891951da2e5c785eacd214;hp=66e09085f0d2237989ee727106fb9cde526326b0;hb=d438145b28f34b7fdbc7e290aa001e5f3f922207;hpb=4ff76cab24698482ce759cb40a903b9bc26c8fae diff --git a/src/qtui/chatviewsearchcontroller.h b/src/qtui/chatviewsearchcontroller.h index 66e09085..d2a9dd8e 100644 --- a/src/qtui/chatviewsearchcontroller.h +++ b/src/qtui/chatviewsearchcontroller.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2015 by the Quassel Project * + * Copyright (C) 2005-2018 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -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);