Commit c62613f1 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

Adapt if the application object is destroyed

I haven't been able to reproduce the issue from the bug but this seems
to be the issue.

BUG: 390647
parent 0c4e121d
......@@ -52,6 +52,11 @@ void ApplicationAddonsModel::setApplication(AbstractResource* app)
m_app = app;
if (m_app) {
connect(m_app, &QObject::destroyed, this, [this](){
emit applicationChanged();
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment