0
0
mirror of https://github.com/yse/easy_profiler.git synced 2024-12-25 23:40:51 +08:00
This commit is contained in:
Sergey Yagovtsev 2020-06-07 14:48:12 +03:00
parent 50398b67be
commit a3723894c2

View File

@ -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);