From e22b25e54cf35d40be67c0ff5a4d1b344ed827c8 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Tue, 1 Oct 2024 22:34:58 -0500 Subject: [PATCH] [studio] Remove Editor::requiresConstantRefresh --- src/olympic/studio/modlib/include/studio/editor.hpp | 4 ---- src/olympic/studio/modlib/src/editor.cpp | 4 ---- 2 files changed, 8 deletions(-) diff --git a/src/olympic/studio/modlib/include/studio/editor.hpp b/src/olympic/studio/modlib/include/studio/editor.hpp index 39d2736f..079cf54f 100644 --- a/src/olympic/studio/modlib/include/studio/editor.hpp +++ b/src/olympic/studio/modlib/include/studio/editor.hpp @@ -23,7 +23,6 @@ class BaseEditor: public Widget { bool m_cutEnabled = false; bool m_copyEnabled = false; bool m_pasteEnabled = false; - bool m_requiresConstantRefresh = false; public: ~BaseEditor() override = default; @@ -52,9 +51,6 @@ class BaseEditor: public Widget { virtual void onActivated() noexcept; - [[nodiscard]] - bool requiresConstantRefresh() const noexcept; - void close() const; /** diff --git a/src/olympic/studio/modlib/src/editor.cpp b/src/olympic/studio/modlib/src/editor.cpp index a806d191..be26e82e 100644 --- a/src/olympic/studio/modlib/src/editor.cpp +++ b/src/olympic/studio/modlib/src/editor.cpp @@ -36,10 +36,6 @@ void BaseEditor::keyStateChanged(turbine::Key, bool) { void BaseEditor::onActivated() noexcept { } -bool BaseEditor::requiresConstantRefresh() const noexcept { - return m_requiresConstantRefresh; -} - void BaseEditor::close() const { this->closed.emit(itemPath()); }