diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-02-18 10:27:53 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-02-18 10:27:53 +0100 |
commit | f575f6402fc4e79e2d12c2bc897b616f112af4d9 (patch) | |
tree | 5ae1be63eacac5b9cf9d79593aab7437c396a138 /gui/main-window.cpp | |
parent | 138f9f4d2016c10116028265929be85e54fcc112 (diff) |
gui/main-window: hopefully prevent rare race on close
Diffstat (limited to 'gui/main-window.cpp')
-rw-r--r-- | gui/main-window.cpp | 7 |
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; } |