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

@@ -688,7 +688,7 @@ void ElementScene::slot_editAuthorInformations() {
// cree un dialogue
QDialog dialog_author(m_element_editor);
dialog_author.setModal(true);
#ifdef Q_OS_MAC
#ifdef Q_OS_MACOS
dialog_author.setWindowFlags(Qt::Sheet);
#endif
dialog_author.setMinimumSize(400, 260);