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
@@ -635,7 +635,7 @@ void CmdPartDesignMoveFeature::activated(int iMsg)
|
||||
} catch (Base::Exception &) {
|
||||
QMessageBox::warning( Gui::getMainWindow(), QObject::tr("Sketch plane cannot be migrated"),
|
||||
QObject::tr("Please edit '%1' and redefine it to use a Base or Datum plane as the sketch plane.").
|
||||
arg( QString::fromAscii( sketch->Label.getValue () ) ) );
|
||||
arg( QString::fromLatin1( sketch->Label.getValue () ) ) );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user