Fix remaining toAscii/fromAscii
Qt5 does not have toAscii or fromAscii. Use toLatin1 and fromLatin1 respectively. Both replacement functions exist in Qt4.8.
This commit is contained in:
@@ -53,7 +53,7 @@ void DocumentThread::run()
|
||||
{
|
||||
App::Document* doc = App::GetApplication().getActiveDocument();
|
||||
DocumentProtector dp(doc);
|
||||
dp.addObject("Mesh::Ellipsoid", (const char*)objectName().toAscii());
|
||||
dp.addObject("Mesh::Ellipsoid", (const char*)objectName().toLatin1());
|
||||
dp.recompute();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user