parent
3bc44c267d
commit
15212abd85
|
@ -384,6 +384,9 @@ FramelessWidgetsHelper *FramelessWidgetsHelperPrivate::findOrCreateFramelessHelp
|
|||
if (!instance) {
|
||||
instance = new FramelessWidgetsHelper(parent);
|
||||
instance->extendsContentIntoTitleBar();
|
||||
if (parent->inherits("QDialog")) {
|
||||
instance->setWindowFixedSize(true);
|
||||
}
|
||||
}
|
||||
return instance;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue