aboutsummaryrefslogtreecommitdiffstats
path: root/src/server/ComUtils.cpp
diff options
context:
space:
mode:
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;
/**