mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-20 16:20:52 +01:00
Replance Q_OS_MAC Deprecated by Q_OS_MACOS
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user