QString::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().
This change is Qt4/Qt5 neutral.
This commit is contained in:
committed by
wmayer
parent
d5c074f80d
commit
cd2db00f22
@@ -200,7 +200,7 @@ void ViewProviderTransformed::recomputeFeature(void)
|
||||
pcTransformed->getDocument()->recomputeFeature(pcTransformed);
|
||||
const std::vector<App::DocumentObjectExecReturn*> log = pcTransformed->getDocument()->getRecomputeLog();
|
||||
unsigned rejected = pcTransformed->getRejectedTransformations().size();
|
||||
QString msg = QString::fromAscii("%1");
|
||||
QString msg = QString::fromLatin1("%1");
|
||||
if (rejected > 0) {
|
||||
msg = QString::fromLatin1("<font color='orange'>%1<br/></font>\r\n%2");
|
||||
if (rejected == 1)
|
||||
|
||||
Reference in New Issue
Block a user