summaryrefslogtreecommitdiffstats
path: root/qdb/server/handshakeservice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qdb/server/handshakeservice.cpp')
-rw-r--r--qdb/server/handshakeservice.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/qdb/server/handshakeservice.cpp b/qdb/server/handshakeservice.cpp
index 48a5124..c9f3df1 100644
--- a/qdb/server/handshakeservice.cpp
+++ b/qdb/server/handshakeservice.cpp
@@ -25,6 +25,9 @@
#include "libqdb/stream.h"
#include <QtCore/qdebug.h>
+#include <QtCore/qloggingcategory.h>
+
+Q_LOGGING_CATEGORY(handshakeC, "qdb.services.handshake");
HandshakeService::HandshakeService(Connection *connection)
: m_connection{connection},
@@ -54,7 +57,7 @@ bool HandshakeService::hasStream() const
void HandshakeService::ask()
{
if (!m_stream) {
- qCritical() << "No valid stream in HandshakeService when trying to send";
+ qCCritical(handshakeC) << "No valid stream in HandshakeService when trying to send";
return;
}
StreamPacket packet{};