diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-02-16 11:03:20 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-02-16 11:05:12 +0100 |
commit | ef210198aa71e012b885f81e6913ab7521faeb16 (patch) | |
tree | 03e11b797976ec55398f6aa90c78ca7cedbdb4f5 | |
parent | 9d4f5245630d2cac5f4a479dee2f6a7b358c8ef9 (diff) |
api: fix potential logic errors with module init
-rw-r--r-- | api/plugin-api.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/plugin-api.cpp b/api/plugin-api.cpp index a8ede390..6c9a21bc 100644 --- a/api/plugin-api.cpp +++ b/api/plugin-api.cpp @@ -60,7 +60,7 @@ IExtensionDialog::~IExtensionDialog() bool module_status::is_ok() const { - return error.isEmpty(); + return error.isNull(); } module_status::module_status(const QString& error) : error(error) {} |