From 8ee3673e439b4499a8a4a4280637ee0270c4a54a Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Wed, 21 Oct 2015 09:44:39 +0200 Subject: QQmlNativeDebugConnector: Do not translate warning. qWarnings() usually are not translated. Change-Id: I0375e0e21054d33349d3f56ee9ac6f580e366736 Reviewed-by: Ulf Hermann --- src/plugins/qmltooling/qmldbg_native/qqmlnativedebugconnector.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/plugins') diff --git a/src/plugins/qmltooling/qmldbg_native/qqmlnativedebugconnector.cpp b/src/plugins/qmltooling/qmldbg_native/qqmlnativedebugconnector.cpp index 2528d993ad..6621eafb27 100644 --- a/src/plugins/qmltooling/qmldbg_native/qqmlnativedebugconnector.cpp +++ b/src/plugins/qmltooling/qmldbg_native/qqmlnativedebugconnector.cpp @@ -219,8 +219,8 @@ QQmlNativeDebugConnector::QQmlNativeDebugConnector() } else if (!services.isEmpty()) { services.append(strArgument); } else { - qWarning() << tr("QML Debugger: Invalid argument \"%1\" detected. Ignoring the same.") - .arg(strArgument); + qWarning("QML Debugger: Invalid argument \"%s\" detected. Ignoring the same.", + qUtf8Printable(strArgument)); } } setServices(services); -- cgit v1.2.3