QString::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().

This change is Qt4/Qt5 neutral.
This commit is contained in:
Mateusz Skowroński
2016-04-14 19:37:12 +02:00
committed by wmayer
parent 3df6064e85
commit b5519922d8
28 changed files with 104 additions and 104 deletions

View File

@@ -295,7 +295,7 @@ void TaskPolarPatternParameters::onAxisChanged(int num) {
pcPolarPattern->Axis.Paste(axesLinks.getCurrentLink());
}
} catch (Base::Exception &e) {
QMessageBox::warning(0,tr("Error"),QString::fromAscii(e.what()));
QMessageBox::warning(0,tr("Error"),QString::fromLatin1(e.what()));
}
kickUpdateViewTimer();