Skip to content
Commit 2ab4c2f1 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇
Browse files

Gracefully replace outputModel

This patch has it signal the disappearance of the outputModel and only then deletes it.
This gives the QML side of things a chance to clean up, specifically QQuickComboBox stores the model in a QVariant
and crashes if you just delete its backing model and then assign a new one.
Ideally the model instance itself would never be replaced but just reset and populated with new outputs.

Differential Revision: https://phabricator.kde.org/D24735
parent 7811411c
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