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:
parent
92a5ca4a75
commit
fd766f1b26
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user