summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--gui/main-window.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/gui/main-window.cpp b/gui/main-window.cpp
index da651149..046c6a44 100644
--- a/gui/main-window.cpp
+++ b/gui/main-window.cpp
@@ -610,13 +610,6 @@ bool mk_dialog(mem<dylib> lib, ptr<t>& d)
return nullptr;
});
- if (just_created)
- {
- using plugin_api::detail::BaseDialog;
- QObject::connect(static_cast<BaseDialog*>(d.get()), &BaseDialog::closing,
- qApp->instance(), [&d]() { d = nullptr; });
- }
-
return just_created;
}