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
8a7768a04a
commit
0695552cff
@@ -263,7 +263,7 @@ ViewProviderAnnotationLabel::ViewProviderAnnotationLabel()
|
||||
Justification.setEnums(JustificationEnums);
|
||||
QFont fn;
|
||||
ADD_PROPERTY(FontSize,(fn.pointSize()));
|
||||
ADD_PROPERTY(FontName,((const char*)fn.family().toAscii()));
|
||||
ADD_PROPERTY(FontName,((const char*)fn.family().toLatin1()));
|
||||
ADD_PROPERTY(Frame,(true));
|
||||
|
||||
pColor = new SoBaseColor();
|
||||
|
||||
Reference in New Issue
Block a user