Replance Q_OS_MAC Deprecated by Q_OS_MACOS

This commit is contained in:
Laurent Trinques
2019-09-08 18:29:29 +02:00
parent 83eba80445
commit a0a7513847
13 changed files with 19 additions and 19 deletions

View File

@@ -42,7 +42,7 @@ DiagramPropertiesDialog::DiagramPropertiesDialog(Diagram *diagram, QWidget *pare
ConductorProperties conductors = diagram -> defaultConductorProperties;
setWindowModality(Qt::WindowModal);
#ifdef Q_OS_MAC
#ifdef Q_OS_MACOS
setWindowFlags(Qt::Sheet);
#endif