From 6546857d213254b33feb2b075946292081ec2f52 Mon Sep 17 00:00:00 2001 From: Johannes Lorenz Date: Thu, 24 Sep 2020 10:18:50 +0200 Subject: [PATCH] Move or remove unused slots --- plugins/Lv2Instrument/Lv2Instrument.cpp | 7 ------- plugins/Lv2Instrument/Lv2Instrument.h | 4 ---- src/gui/Lv2ViewBase.cpp | 7 +++++++ 3 files changed, 7 insertions(+), 11 deletions(-) diff --git a/plugins/Lv2Instrument/Lv2Instrument.cpp b/plugins/Lv2Instrument/Lv2Instrument.cpp index 0f7534ac8..d5ba48787 100644 --- a/plugins/Lv2Instrument/Lv2Instrument.cpp +++ b/plugins/Lv2Instrument/Lv2Instrument.cpp @@ -271,13 +271,6 @@ void Lv2InsView::dropEvent(QDropEvent *_de) -void Lv2InsView::toggleUI() -{ -} - - - - void Lv2InsView::modelChanged() { Lv2ViewBase::modelChanged(castModel()); diff --git a/plugins/Lv2Instrument/Lv2Instrument.h b/plugins/Lv2Instrument/Lv2Instrument.h index 6451d49cd..4fb2e1e34 100644 --- a/plugins/Lv2Instrument/Lv2Instrument.h +++ b/plugins/Lv2Instrument/Lv2Instrument.h @@ -111,10 +111,6 @@ protected: void dragEnterEvent(QDragEnterEvent *_dee) override; void dropEvent(QDropEvent *_de) override; -private slots: - void reloadPlugin(); - void toggleUI(); - private: void modelChanged() override; }; diff --git a/src/gui/Lv2ViewBase.cpp b/src/gui/Lv2ViewBase.cpp index 9b9217e48..488705bcb 100644 --- a/src/gui/Lv2ViewBase.cpp +++ b/src/gui/Lv2ViewBase.cpp @@ -202,6 +202,13 @@ Lv2ViewBase::~Lv2ViewBase() { +void Lv2ViewBase::toggleUI() +{ +} + + + + void Lv2ViewBase::toggleHelp(bool visible) { if (m_helpWindow)