QString::toAscii() is obsolete in Qt5. Replace it with toLatin1().
This change is Qt4/Qt5 neutral.
This commit is contained in:
committed by
wmayer
parent
e55ba2d24d
commit
d5c074f80d
@@ -891,7 +891,7 @@ void Document::SaveDocFile (Base::Writer &writer) const
|
||||
|
||||
writer.incInd(); // indentation for camera settings
|
||||
writer.Stream() << writer.ind() << "<Camera settings=\""
|
||||
<< (const char*)viewPos.toAscii() <<"\"/>" << std::endl;
|
||||
<< (const char*)viewPos.toLatin1() <<"\"/>" << std::endl;
|
||||
writer.decInd(); // indentation for camera settings
|
||||
writer.Stream() << "</Document>" << std::endl;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user