X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fchatviewsearchcontroller.h;h=9e3adf5bc72bc119b5f2a791803fc7ac5068ec29;hp=a119d5413bdb082fb5ad9de4b19efb3682ac6e5a;hb=57982f5802c957e768ce842888591115694fcbef;hpb=f824db0e31b54969e0b7fa0b5405b1e9173d482c diff --git a/src/qtui/chatviewsearchcontroller.h b/src/qtui/chatviewsearchcontroller.h index a119d541..9e3adf5b 100644 --- a/src/qtui/chatviewsearchcontroller.h +++ b/src/qtui/chatviewsearchcontroller.h @@ -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); @@ -110,7 +113,7 @@ private slots: private: QRectF _boundingRect; bool _highlighted; - qreal _alpha; + int _alpha; QTimeLine _timeLine; };