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

@@ -664,7 +664,7 @@ void ProjectView::exportProject() {
if (!m_project) return;
ExportDialog ed(m_project, parentWidget());
#ifdef Q_OS_MAC
#ifdef Q_OS_MACOS
ed.setWindowFlags(Qt::Sheet);
#endif
ed.exec();
@@ -751,7 +751,7 @@ int ProjectView::cleanProject() {
clean_categories -> setChecked(true);
QDialog clean_dialog(parentWidget());
#ifdef Q_OS_MAC
#ifdef Q_OS_MACOS
clean_dialog.setWindowFlags(Qt::Sheet);
#endif
@@ -838,7 +838,7 @@ void ProjectView::initLayout() {
fallback_widget_layout_ -> addWidget(fallback_label_);
layout_ = new QVBoxLayout(this);
#ifdef Q_OS_MAC
#ifdef Q_OS_MACOS
layout_ -> setContentsMargins(0, 8, 0, 0);
#else
layout_ -> setContentsMargins(0, 0, 0, 0);