if containment gets destroyed, destroy all dialogs
BUG:334977
This commit is contained in:
parent
9d3344d0a6
commit
682bf5f149
@ -196,6 +196,9 @@ void AppletPrivate::askDestroy()
|
|||||||
QObject::connect(q, &Applet::immutabilityChanged, [=] () {
|
QObject::connect(q, &Applet::immutabilityChanged, [=] () {
|
||||||
box->close();
|
box->close();
|
||||||
});
|
});
|
||||||
|
QObject::connect(q, &QObject::destroyed, [=] () {
|
||||||
|
box->close();
|
||||||
|
});
|
||||||
QObject::connect(box->button(QMessageBox::Yes), &QAbstractButton::clicked,
|
QObject::connect(box->button(QMessageBox::Yes), &QAbstractButton::clicked,
|
||||||
[ = ]() {
|
[ = ]() {
|
||||||
transient = true;
|
transient = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user