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
596155061f
commit
a8d37dabbe
@@ -223,7 +223,7 @@ void TaskMirroredParameters::onPlaneChanged(int num) {
|
||||
pcMirrored->MirrorPlane.Paste(planeLinks.getCurrentLink());
|
||||
}
|
||||
} catch (Base::Exception &e) {
|
||||
QMessageBox::warning(0,tr("Error"),QString::fromAscii(e.what()));
|
||||
QMessageBox::warning(0,tr("Error"),QString::fromLatin1(e.what()));
|
||||
}
|
||||
|
||||
recomputeFeature();
|
||||
|
||||
Reference in New Issue
Block a user