From a3723894c2d3fba96c758c25f3fa57c96369670d Mon Sep 17 00:00:00 2001 From: Sergey Yagovtsev Date: Sun, 7 Jun 2020 14:48:12 +0300 Subject: [PATCH] #183 workaround --- profiler_gui/window_header.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profiler_gui/window_header.cpp b/profiler_gui/window_header.cpp index 4f74011..91bbc98 100644 --- a/profiler_gui/window_header.cpp +++ b/profiler_gui/window_header.cpp @@ -107,7 +107,7 @@ WindowHeader::WindowHeader(const QString& title, Buttons buttons, QWidget& paren connect(m_closeButton, &QPushButton::clicked, parent, &QWidget::close, Qt::QueuedConnection); } -#if !defined(_WIN32) +#if !defined(_WIN32) && !defined(__APPLE__) if (m_maximizeButton != nullptr || m_minimizeButton != nullptr) { parent->setWindowFlags(parent->windowFlags() | Qt::SubWindow);