[studio] Cleanup unused member
This commit is contained in:
parent
a3e5f27ab8
commit
a2139c09b2
@ -8,8 +8,7 @@
|
||||
|
||||
namespace studio {
|
||||
|
||||
DeleteConfirmation::DeleteConfirmation(StudioContext &ctx) noexcept:
|
||||
m_ctx{ctx} {
|
||||
DeleteConfirmation::DeleteConfirmation() noexcept {
|
||||
setTitle("Delete Item");
|
||||
}
|
||||
|
||||
|
@ -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<ox::Error(ox::StringViewCR path)> deleteFile;
|
||||
|
||||
DeleteConfirmation(StudioContext &ctx) noexcept;
|
||||
DeleteConfirmation() noexcept;
|
||||
|
||||
void openPath(ox::StringViewCR path) noexcept;
|
||||
|
||||
|
@ -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<Popup*, 4> const m_popups = {
|
||||
|
Loading…
Reference in New Issue
Block a user