fixed bufferswitches when using different buffer views
[quassel.git] / src / uisupport / bufferview.h
index 0f1b502..b766f99 100644 (file)
@@ -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);