summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesus Fernandez <jesus.fernandez@qt.io>2018-05-22 16:09:21 +0200
committerJesus Fernandez <Jesus.Fernandez@qt.io>2018-06-01 09:44:44 +0000
commitd208810db23289dc9a4c467a451198145041fd00 (patch)
tree24691ba09363137dfeb47551bf2ff06b8657320e
parent151a9f04ce3b502f7ffeef32dde12f5249d13afb (diff)
Fix critical messages
Fixes a misleading message. Removes the function name from the message. Change-Id: Ie0ef0c7dc0b0fc4b1e2ee4665e2b7aacdd111b5c Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
-rw-r--r--src/plugins/platforms/webgl/qwebglmain.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/platforms/webgl/qwebglmain.cpp b/src/plugins/platforms/webgl/qwebglmain.cpp
index dd14bec..6c9c324 100644
--- a/src/plugins/platforms/webgl/qwebglmain.cpp
+++ b/src/plugins/platforms/webgl/qwebglmain.cpp
@@ -52,13 +52,13 @@ QPlatformIntegration* QWebGLIntegrationPlugin::create(const QString& system,
const QStringList parts = parameter.split('=');
if (parts.first() == QStringLiteral("port")) {
if (parts.size() != 2) {
- qCCritical(lcWebGL, "QWebGLIntegrationPlugin::create: No port specified");
+ qCCritical(lcWebGL, "Port parameter specified with no value");
return nullptr;
}
bool ok;
port = parts.last().toUShort(&ok);
if (!ok) {
- qCCritical(lcWebGL, "QWebGLIntegrationPlugin::create: Invalid port number");
+ qCCritical(lcWebGL, "Invalid port number");
return nullptr;
}
}