X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fchatviewsearchcontroller.h;h=5ed0f4f1471131c44a2f694b16f0fd93c98f4ea1;hp=66e09085f0d2237989ee727106fb9cde526326b0;hb=0d418069762066b4640250efd5ba8d68bf0af178;hpb=695758015a80eb8c158a9ac4c0f1c0b547e70df3 diff --git a/src/qtui/chatviewsearchcontroller.h b/src/qtui/chatviewsearchcontroller.h index 66e09085..5ed0f4f1 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-2016 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);