Make the ExternalTools classes accessible outside core

Change-Id: I225c22bc48b123fec4420761879382ea0a424029
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Christian Strømme
2022-02-21 20:01:40 +01:00
parent 679a7ba7ef
commit e45766cdc8
7 changed files with 20 additions and 34 deletions

View File

@@ -51,7 +51,6 @@ using namespace Utils;
using namespace Core::Internal;
namespace Core {
namespace Internal {
const char kExternalTool[] = "externaltool";
const char kId[] = "id";
@@ -331,7 +330,7 @@ static void localizedText(const QStringList &locales, QXmlStreamReader *reader,
}
} else {
if (*currentLocale < 0 && currentText->isEmpty()) {
*currentText = QCoreApplication::translate("Core::Internal::ExternalTool",
*currentText = QCoreApplication::translate("Core::ExternalTool",
reader->readElementText().toUtf8().constData(),
"");
} else {
@@ -721,6 +720,4 @@ void ExternalToolRunner::readStandardError()
m_processOutput.append(output);
}
} // namespace Internal
} // namespace Core