[studio] Cleanup unused member
This commit is contained in:
parent
a3e5f27ab8
commit
a2139c09b2
@ -8,8 +8,7 @@
|
|||||||
|
|
||||||
namespace studio {
|
namespace studio {
|
||||||
|
|
||||||
DeleteConfirmation::DeleteConfirmation(StudioContext &ctx) noexcept:
|
DeleteConfirmation::DeleteConfirmation() noexcept {
|
||||||
m_ctx{ctx} {
|
|
||||||
setTitle("Delete Item");
|
setTitle("Delete Item");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -21,12 +21,11 @@ class DeleteConfirmation final: public Popup {
|
|||||||
Stage m_stage = Stage::Closed;
|
Stage m_stage = Stage::Closed;
|
||||||
bool m_open{};
|
bool m_open{};
|
||||||
ox::String m_path;
|
ox::String m_path;
|
||||||
StudioContext &m_ctx;
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
ox::Signal<ox::Error(ox::StringViewCR path)> deleteFile;
|
ox::Signal<ox::Error(ox::StringViewCR path)> deleteFile;
|
||||||
|
|
||||||
DeleteConfirmation(StudioContext &ctx) noexcept;
|
DeleteConfirmation() noexcept;
|
||||||
|
|
||||||
void openPath(ox::StringViewCR path) noexcept;
|
void openPath(ox::StringViewCR path) noexcept;
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@ class StudioUI: public ox::SignalHandler {
|
|||||||
BaseEditor *m_activeEditor = nullptr;
|
BaseEditor *m_activeEditor = nullptr;
|
||||||
BaseEditor *m_activeEditorUpdatePending = nullptr;
|
BaseEditor *m_activeEditorUpdatePending = nullptr;
|
||||||
NewMenu m_newMenu;
|
NewMenu m_newMenu;
|
||||||
DeleteConfirmation m_deleteConfirmation{m_sctx};
|
DeleteConfirmation m_deleteConfirmation;
|
||||||
NewProject m_newProject;
|
NewProject m_newProject;
|
||||||
AboutPopup m_aboutPopup;
|
AboutPopup m_aboutPopup;
|
||||||
ox::Array<Popup*, 4> const m_popups = {
|
ox::Array<Popup*, 4> const m_popups = {
|
||||||
|
Loading…
Reference in New Issue
Block a user