diff --git a/src/olympic/studio/applib/src/deleteconfirmation.cpp b/src/olympic/studio/applib/src/deleteconfirmation.cpp index c81329ee..9eaa591c 100644 --- a/src/olympic/studio/applib/src/deleteconfirmation.cpp +++ b/src/olympic/studio/applib/src/deleteconfirmation.cpp @@ -8,8 +8,7 @@ namespace studio { -DeleteConfirmation::DeleteConfirmation(StudioContext &ctx) noexcept: - m_ctx{ctx} { +DeleteConfirmation::DeleteConfirmation() noexcept { setTitle("Delete Item"); } diff --git a/src/olympic/studio/applib/src/deleteconfirmation.hpp b/src/olympic/studio/applib/src/deleteconfirmation.hpp index 4a03dbc1..012dbcbb 100644 --- a/src/olympic/studio/applib/src/deleteconfirmation.hpp +++ b/src/olympic/studio/applib/src/deleteconfirmation.hpp @@ -21,12 +21,11 @@ class DeleteConfirmation final: public Popup { Stage m_stage = Stage::Closed; bool m_open{}; ox::String m_path; - StudioContext &m_ctx; public: ox::Signal deleteFile; - DeleteConfirmation(StudioContext &ctx) noexcept; + DeleteConfirmation() noexcept; void openPath(ox::StringViewCR path) noexcept; diff --git a/src/olympic/studio/applib/src/studioapp.hpp b/src/olympic/studio/applib/src/studioapp.hpp index c722c608..a0373624 100644 --- a/src/olympic/studio/applib/src/studioapp.hpp +++ b/src/olympic/studio/applib/src/studioapp.hpp @@ -40,7 +40,7 @@ class StudioUI: public ox::SignalHandler { BaseEditor *m_activeEditor = nullptr; BaseEditor *m_activeEditorUpdatePending = nullptr; NewMenu m_newMenu; - DeleteConfirmation m_deleteConfirmation{m_sctx}; + DeleteConfirmation m_deleteConfirmation; NewProject m_newProject; AboutPopup m_aboutPopup; ox::Array const m_popups = {