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

@@ -49,7 +49,7 @@ ElementDialog::ElementDialog(uint mode, QWidget *parent) :
void ElementDialog::setUpWidget()
{
setWindowModality(Qt::WindowModal);
#ifdef Q_OS_MAC
#ifdef Q_OS_MACOS
setWindowFlags(Qt::Sheet);
#endif