From: Manuel Nickschas Date: Wed, 7 Nov 2018 20:01:39 +0000 (+0100) Subject: common: Fix syncing of BufferViewManager X-Git-Tag: 0.13.0~4 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=e29496b663e59b7d5812069cfee4ebcfec7decfe;hp=d438145b28f34b7fdbc7e290aa001e5f3f922207 common: Fix syncing of BufferViewManager Two syncable methods where accidentally demoted from being slots, so adding/removing buffer views would not be synced anymore. Fix this by making those methods slots again. --- diff --git a/src/common/bufferviewmanager.h b/src/common/bufferviewmanager.h index fcfb7d09..8f83622b 100644 --- a/src/common/bufferviewmanager.h +++ b/src/common/bufferviewmanager.h @@ -46,6 +46,9 @@ public slots: QVariantList initBufferViewIds() const; void initSetBufferViewIds(const QVariantList bufferViewIds); + void addBufferViewConfig(int bufferViewConfigId); + void deleteBufferViewConfig(int bufferViewConfigId); + virtual inline void requestCreateBufferView(const QVariantMap &properties) { REQUEST(ARG(properties)) } virtual inline void requestCreateBufferViews(const QVariantList &properties) { REQUEST(ARG(properties)) } virtual inline void requestDeleteBufferView(int bufferViewId) { REQUEST(ARG(bufferViewId)) } @@ -65,8 +68,6 @@ protected: virtual BufferViewConfig *bufferViewConfigFactory(int bufferViewConfigId); void addBufferViewConfig(BufferViewConfig *config); - void addBufferViewConfig(int bufferViewConfigId); - void deleteBufferViewConfig(int bufferViewConfigId); private: BufferViewConfigHash _bufferViewConfigs;