Prevent ChatView from scrolling up 1px on buffer switch, fixes #544
[quassel.git] / src / common / bufferviewconfig.h
index 87f109a..9142053 100644 (file)
@@ -40,6 +40,7 @@ public:
   BufferViewConfig(int bufferViewId, QObject *parent = 0);
   BufferViewConfig(int bufferViewId, const QVariantMap &properties, QObject *parent = 0);
 
+  inline virtual const QMetaObject *syncMetaObject() const { return &staticMetaObject; }
 
 public slots:
   inline int bufferViewId() const { return _bufferViewId; }