X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fuisupport%2Fbufferview.h;h=b766f99cb22597b01a8d0de91575d48fdabe2e7d;hp=0f1b502f76058d0ebea0288bad91294e85a3cc0a;hb=789f681013cdb7749c8b3347937de813bb51d3d0;hpb=d80ba4f4bc4d3e2c8f1a86354af0c3bfce711d08 diff --git a/src/uisupport/bufferview.h b/src/uisupport/bufferview.h index 0f1b502f..b766f99c 100644 --- a/src/uisupport/bufferview.h +++ b/src/uisupport/bufferview.h @@ -45,7 +45,7 @@ public: void setConfig(BufferViewConfig *config); inline BufferViewConfig *config() { return _config; } - + public slots: void setRootIndexForNetworkId(const NetworkId &networkId); @@ -58,6 +58,7 @@ protected: virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight); virtual void wheelEvent(QWheelEvent *); virtual QSize sizeHint() const; + virtual void focusInEvent(QFocusEvent *event) { QAbstractScrollArea::focusInEvent(event); } private slots: void joinChannel(const QModelIndex &index);