aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cppeditor/cppprojectinfogenerator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/cppeditor/cppprojectinfogenerator.cpp')
-rw-r--r--src/plugins/cppeditor/cppprojectinfogenerator.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/cppeditor/cppprojectinfogenerator.cpp b/src/plugins/cppeditor/cppprojectinfogenerator.cpp
index 29ec0f4c93..fe077bd377 100644
--- a/src/plugins/cppeditor/cppprojectinfogenerator.cpp
+++ b/src/plugins/cppeditor/cppprojectinfogenerator.cpp
@@ -3,6 +3,7 @@
#include "cppprojectinfogenerator.h"
+#include "cppeditortr.h"
#include "cppprojectfilecategorizer.h"
#include <projectexplorer/headerpath.h>
@@ -47,12 +48,12 @@ ProjectInfo::ConstPtr ProjectInfoGenerator::generate()
});
};
if (m_cToolchainMissing) {
- showWarning(QCoreApplication::translate("CppEditor",
+ showWarning(Tr::tr(
"The project contains C source files, but the currently active kit "
"has no C compiler. The code model will not be fully functional."));
}
if (m_cxxToolchainMissing) {
- showWarning(QCoreApplication::translate("CppEditor",
+ showWarning(Tr::tr(
"The project contains C++ source files, but the currently active kit "
"has no C++ compiler. The code model will not be fully functional."));
}