From 540b679c1424b299e9d6ea83ece75d43c67d2f9d Mon Sep 17 00:00:00 2001 From: Alessandro Portale Date: Mon, 23 Jan 2023 22:01:49 +0100 Subject: QmlDebug: Tr::tr Change-Id: I420f15db36a3da30a0a788c0af09e935f62902c7 Reviewed-by: Reviewed-by: hjk --- src/libs/qmldebug/qmloutputparser.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/libs/qmldebug/qmloutputparser.cpp') diff --git a/src/libs/qmldebug/qmloutputparser.cpp b/src/libs/qmldebug/qmloutputparser.cpp index 756c3f631e..5d0e07025f 100644 --- a/src/libs/qmldebug/qmloutputparser.cpp +++ b/src/libs/qmldebug/qmloutputparser.cpp @@ -2,7 +2,10 @@ // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 #include "qmloutputparser.h" + #include "qmldebugconstants.h" +#include "qmldebugtr.h" + #include namespace QmlDebug { @@ -68,10 +71,10 @@ void QmlOutputParser::processOutput(const QString &output) } } else if (status.startsWith(unableToListen)) { //: Error message shown after 'Could not connect ... debugger:" - emit errorMessage(tr("The port seems to be in use.")); + emit errorMessage(Tr::tr("The port seems to be in use.")); } else if (status.startsWith(debuggingNotEnabled)) { //: Error message shown after 'Could not connect ... debugger:" - emit errorMessage(tr("The application is not set up for QML/JS debugging.")); + emit errorMessage(Tr::tr("The application is not set up for QML/JS debugging.")); } else if (status.startsWith(connectionEstablished)) { emit connectionEstablishedMessage(); } else if (status.startsWith(connectingToSocket)) { -- cgit v1.2.1