Fixed tr()-glitches.

This commit is contained in:
Friedemann Kleint
2009-07-30 16:44:16 +02:00
parent 8cadee7b99
commit 1cad9748cc
5 changed files with 11 additions and 10 deletions

View File

@@ -1525,10 +1525,11 @@ QString DebuggerManager::qtDumperLibraryName() const
QStringList DebuggerManager::qtDumperLibraryLocations() const
{
if (theDebuggerAction(UseCustomDebuggingHelperLocation)->value().toBool())
return QStringList() <<
( theDebuggerAction(CustomDebuggingHelperLocation)->value().toString()
+ tr(" (explicitly set in the Debugger Options)"));
if (theDebuggerAction(UseCustomDebuggingHelperLocation)->value().toBool()) {
const QString customLocation = theDebuggerAction(CustomDebuggingHelperLocation)->value().toString();
const QString location = tr("%1 (explicitly set in the Debugger Options)").arg(customLocation);
return QStringList(location);
}
return m_dumperLibLocations;
}