forked from qt-creator/qt-creator
RemoteLinux: Compile with QT_NO_CAST_FROM_ASCII
Change-Id: I10541e999d6210caf6b88ecb5c1010e831b2f4d4 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
cf7f778c2b
commit
73d60a5813
@@ -109,7 +109,7 @@ void PublicKeyDeploymentDialog::handleDeploymentFinished(const QString &errorMsg
|
||||
buttonText = errorMsg;
|
||||
textColor = "red";
|
||||
}
|
||||
setLabelText(QString::fromLatin1("<font color=\"%1\">%2</font>").arg(textColor, buttonText));
|
||||
setLabelText(QString::fromLatin1("<font color=\"%1\">%2</font>").arg(QLatin1String(textColor), buttonText));
|
||||
setCancelButtonText(tr("Close"));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user