summaryrefslogtreecommitdiffhomepage
path: root/gui/main-window.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-02-18 10:27:53 +0100
committerStanislaw Halik <sthalik@misaki.pl>2017-02-18 10:27:53 +0100
commitf575f6402fc4e79e2d12c2bc897b616f112af4d9 (patch)
tree5ae1be63eacac5b9cf9d79593aab7437c396a138 /gui/main-window.cpp
parent138f9f4d2016c10116028265929be85e54fcc112 (diff)
gui/main-window: hopefully prevent rare race on close
Diffstat (limited to 'gui/main-window.cpp')
-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;
}