diff options
Diffstat (limited to 'api')
-rw-r--r-- | api/plugin-api.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/api/plugin-api.cpp b/api/plugin-api.cpp index 5c83e42f..ef9e47a1 100644 --- a/api/plugin-api.cpp +++ b/api/plugin-api.cpp @@ -1,4 +1,5 @@ #include "plugin-api.hpp" +#include <QDebug> namespace plugin_api::detail { @@ -7,18 +8,15 @@ void BaseDialog::closeEvent(QCloseEvent*) { if (isVisible()) { - hide(); emit closing(); + close(); } } void BaseDialog::done(int) { if (isVisible()) - { - hide(); close(); - } } bool BaseDialog::embeddable() noexcept { return false; } |