Skip to content
This repository has been archived by the owner on Dec 19, 2023. It is now read-only.

Commit

Permalink
win: fix dialog maximize
Browse files Browse the repository at this point in the history
issue: #266
  • Loading branch information
wangwenx190 committed Aug 24, 2023
1 parent 3bc44c2 commit 15212ab
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/widgets/framelesswidgetshelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,9 @@ FramelessWidgetsHelper *FramelessWidgetsHelperPrivate::findOrCreateFramelessHelp
if (!instance) {
instance = new FramelessWidgetsHelper(parent);
instance->extendsContentIntoTitleBar();
if (parent->inherits("QDialog")) {
instance->setWindowFixedSize(true);
}
}
return instance;
}
Expand Down

0 comments on commit 15212ab

Please sign in to comment.