0
0
mirror of https://github.com/yse/easy_profiler.git synced 2024-12-26 16:11:02 +08:00

fix old Qt build

This commit is contained in:
Victor Zarubkin 2019-10-21 09:06:26 +03:00
parent 92a5ca4a75
commit fd766f1b26

View File

@ -108,7 +108,7 @@ WindowHeader::WindowHeader(const QString& title, Buttons buttons, QWidget& paren
#if !defined(_WIN32)
if (m_maximizeButton != nullptr || m_minimizeButton != nullptr)
{
parent->setWindowFlag(Qt::SubWindow, true);
parent->setWindowFlags(parent->windowFlags() | Qt::SubWindow);
}
#endif