Skip to content

Commit

Permalink
#183 workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
yse committed Jun 7, 2020
1 parent 50398b6 commit a372389
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion profiler_gui/window_header.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit a372389

Please sign in to comment.