qml: Make FrameQuick have a model for the dock widgets
More versatil for QML
This commit is contained in:
@@ -700,7 +700,7 @@ void DockWidgetBase::onClosed(QCloseEvent *e)
|
||||
{
|
||||
e->accept(); // By default we accept, means DockWidget closes
|
||||
if (d->widget)
|
||||
qApp->sendEvent(d->widget, e); // Give a change for the widget to ignore
|
||||
qApp->sendEvent(d->widget, e); // Give a chancefor the widget to ignore
|
||||
|
||||
if (e->isAccepted())
|
||||
d->close();
|
||||
|
||||
Reference in New Issue
Block a user