From e29496b663e59b7d5812069cfee4ebcfec7decfe Mon Sep 17 00:00:00 2001 From: Manuel Nickschas Date: Wed, 7 Nov 2018 21:01:39 +0100 Subject: [PATCH] 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. --- src/common/bufferviewmanager.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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; -- 2.20.1