summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorMaurice Kalinowski <maurice.kalinowski@qt.io>2018-07-25 15:32:42 +0200
committerMaurice Kalinowski <maurice.kalinowski@qt.io>2018-07-26 08:16:07 +0000
commit19475c3403683406736be95315cdccd3043b6857 (patch)
treea9165403f91b42771c26f066b0f69e36acec609b /examples
parent8d2f9c3e0e6ad6da8fbf895262714a89747a4f25 (diff)
Move qWarning to categorized logging
qWarning could potentially quit an application while it is easily possible to recover from an error state. Hence avoid usage of qWarning inside the module. Task-number: QTBUG-69544 Change-Id: I7340f38d80e6716450fbcd0918226e9435d37daa Reviewed-by: Kai Koehne <kai.koehne@qt.io>
Diffstat (limited to 'examples')
-rw-r--r--examples/mqtt/websocketsubscription/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/mqtt/websocketsubscription/main.cpp b/examples/mqtt/websocketsubscription/main.cpp
index 03ca84e..a91fc89 100644
--- a/examples/mqtt/websocketsubscription/main.cpp
+++ b/examples/mqtt/websocketsubscription/main.cpp
@@ -99,7 +99,7 @@ int main(int argc, char *argv[])
} else if (versionString == "3") {
clientsub.setVersion(3);
} else {
- qWarning() << "Unknown MQTT version";
+ qInfo() << "Unknown MQTT version";
return -2;
}