CMake: Move to Tr::tr

Change-Id: I169da93b5184351cb915d4c198fd33318fcfe06f
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
hjk
2022-09-29 15:26:31 +02:00
parent 9f25c2dedf
commit ab4c9b9679
65 changed files with 509 additions and 2228 deletions

View File

@@ -3,6 +3,7 @@
#include "cmaketool.h"
#include "cmakeprojectmanagertr.h"
#include "cmaketoolmanager.h"
#include <coreplugin/helpmanager.h>
@@ -294,7 +295,7 @@ CMakeTool::Version CMakeTool::version() const
QString CMakeTool::versionDisplay() const
{
if (!isValid())
return CMakeToolManager::tr("Version not parseable");
return Tr::tr("Version not parseable");
const Version &version = m_introspection->m_version;
if (version.fullVersion.isEmpty())