From 5f45ed1c7b0667fc6d23dc4d727b004792a32178 Mon Sep 17 00:00:00 2001 From: Takumi ASAKI Date: Tue, 26 Apr 2016 15:51:04 +0900 Subject: Clang: tr()-Fixes Do not use QObject::tr(). Change-Id: I369eb9a57cc0d37a16fe0c11d766f22405a9eef7 Reviewed-by: Nikolai Kosjar --- src/plugins/clangcodemodel/clangdiagnosticmanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/clangcodemodel/clangdiagnosticmanager.cpp') diff --git a/src/plugins/clangcodemodel/clangdiagnosticmanager.cpp b/src/plugins/clangcodemodel/clangdiagnosticmanager.cpp index cfc0db24d6..0e3d70ec9d 100644 --- a/src/plugins/clangcodemodel/clangdiagnosticmanager.cpp +++ b/src/plugins/clangcodemodel/clangdiagnosticmanager.cpp @@ -214,7 +214,7 @@ QTextCursor cursorAtLastPositionOfLine(QTextDocument *textDocument, int lineNumb QString tooltipForFixItAvailableMarker() { - QString text = QObject::tr("Inspect available fixits"); + QString text = QCoreApplication::translate("ClangCodeModel::Internal::ClangDiagnosticManager", "Inspect available fixits"); Core::Command *command = Core::ActionManager::command(TextEditor::Constants::QUICKFIX_THIS); if (command) -- cgit v1.2.1