Commit 9d853741 authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

Valgrind: Fix breakage caused by tr()-fix.

Breakage introduced by 5c3596e9.
parent 13666189
......@@ -72,7 +72,7 @@ QString AnalyzerOptionsPage::category() const
QString AnalyzerOptionsPage::displayCategory() const
{
return QCoreApplication::tr("Analyzer", Constants::ANALYZER_SETTINGS_TR_CATEGORY);
return QCoreApplication::translate("Analyzer", Constants::ANALYZER_SETTINGS_TR_CATEGORY);
}
QIcon AnalyzerOptionsPage::categoryIcon() const
......
......@@ -152,7 +152,7 @@ static QString makeFrameName(const Frame &frame, const QString &relativeTo,
}
if (!fn.isEmpty())
return QCoreApplication::tr("Analyzer::Internal", "%1 in %2").arg(Qt::escape(fn), path);
return QCoreApplication::translate("Analyzer::Internal", "%1 in %2").arg(Qt::escape(fn), path);
else if (!path.isEmpty())
return path;
else
......@@ -183,7 +183,7 @@ QString errorLocation(const QModelIndex &index, const Error &error,
};
QTC_ASSERT(model, return QString());
return QCoreApplication::tr("Analyzer::Internal", "in %1").
return QCoreApplication::translate("Analyzer::Internal", "in %1").
arg(makeFrameName(model->findRelevantFrame(error), relativeToPath(),
link, linkAttr));
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment