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