aboutsummaryrefslogtreecommitdiffstats
path: root/src/server/ComUtils.cpp
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2021-08-12 05:09:37 +0000
committerSaturneric <[email protected]>2021-08-12 05:09:37 +0000
commit2029d17896edac2e86bff0a12e69f7d1cf9e3eb5 (patch)
treebb8eeadf00848506d0d3f1aa11b4f3cda614073f /src/server/ComUtils.cpp
parentContinue to fix Compile Issue (diff)
downloadGpgFrontend-2029d17896edac2e86bff0a12e69f7d1cf9e3eb5.tar.gz
GpgFrontend-2029d17896edac2e86bff0a12e69f7d1cf9e3eb5.zip
Beautify UI
Diffstat (limited to 'src/server/ComUtils.cpp')
-rw-r--r--src/server/ComUtils.cpp5
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;
/**