diff options
author | Saturneric <[email protected]> | 2021-08-12 05:09:37 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2021-08-12 05:09:37 +0000 |
commit | 2029d17896edac2e86bff0a12e69f7d1cf9e3eb5 (patch) | |
tree | bb8eeadf00848506d0d3f1aa11b4f3cda614073f /src/server/ComUtils.cpp | |
parent | Continue to fix Compile Issue (diff) | |
download | GpgFrontend-2029d17896edac2e86bff0a12e69f7d1cf9e3eb5.tar.gz GpgFrontend-2029d17896edac2e86bff0a12e69f7d1cf9e3eb5.zip |
Beautify UI
Diffstat (limited to 'src/server/ComUtils.cpp')
-rw-r--r-- | src/server/ComUtils.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/server/ComUtils.cpp b/src/server/ComUtils.cpp index 09b487f8..ff592401 100644 --- a/src/server/ComUtils.cpp +++ b/src/server/ComUtils.cpp @@ -31,6 +31,11 @@ */ bool ComUtils::checkServerReply(const QByteArray &reply) { + if(reply.isEmpty()) { + QMessageBox::critical(this, tr("Error"), tr("Nothing Reply")); + return false; + } + qDebug() << "Reply" << reply; /** |