[studio] Remove Editor::setRequiresConstantRefresh

This commit is contained in:
2024-10-02 01:18:37 -05:00
parent ba7e3929e9
commit 0a62d90065
3 changed files with 4 additions and 9 deletions

View File

@ -67,10 +67,10 @@ class BaseEditor: public Widget {
[[nodiscard]]
bool unsavedChanges() const noexcept;
void setExportable(bool);
void setExportable(bool) noexcept;
[[nodiscard]]
bool exportable() const;
bool exportable() const noexcept;
void setCutEnabled(bool);

View File

@ -62,12 +62,12 @@ bool BaseEditor::unsavedChanges() const noexcept {
return m_unsavedChanges;
}
void BaseEditor::setExportable(bool exportable) {
void BaseEditor::setExportable(bool exportable) noexcept {
m_exportable = exportable;
exportableChanged.emit(exportable);
}
bool BaseEditor::exportable() const {
bool BaseEditor::exportable() const noexcept {
return m_exportable;
}
@ -106,10 +106,6 @@ UndoStack *BaseEditor::undoStack() noexcept {
return nullptr;
}
void BaseEditor::setRequiresConstantRefresh(bool value) noexcept {
m_requiresConstantRefresh = value;
}
Editor::Editor(ox::StringParam itemPath) noexcept:
m_itemPath(std::move(itemPath)),