forked from qt-creator/qt-creator
Utils: Compile with QT_NO_CAST_FROM_ASCII.
Change-Id: I5cd5607fcd3311915217a1615b948587ef808cfa Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
This commit is contained in:
@@ -174,6 +174,6 @@ void ProxyAction::updateToolTipWithKeySequence()
|
||||
|
||||
QString ProxyAction::stringWithAppendedShortcut(const QString &str, const QKeySequence &shortcut)
|
||||
{
|
||||
return QString("%1 <span style=\"color: gray; font-size: small\">%2</span>").arg(str).arg(
|
||||
shortcut.toString(QKeySequence::NativeText));
|
||||
return QString::fromLatin1("%1 <span style=\"color: gray; font-size: small\">%2</span>").
|
||||
arg(str, shortcut.toString(QKeySequence::NativeText));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user