Improve the initialization behavior of CategoryModel
CategoryModel was missing an update call in the ::componentComplete
callback, as well as reacting on the name changed signal of the plugin.
An update call was also missing in the setPlugin method.
This patch makes it react on the attached signal instead, and
adds missing update calls.
Fixes: QTBUG-70254
Change-Id: I1a8de0137b4fe4af7c5ffc848799061147febba2
Reviewed-by: Michael Brasser <michael.brasser@live.com>
| commit | a4cc61fc30cb7dff15bf7ae2ff064530b40d72c5 |
| parent | cb19e1f7e3cc2cfee3b8fcbdfa5cd151826dadac |
| author | Paolo Angelelli <paolo.angelelli@qt.io> |
| committer | Paolo Angelelli <paolo.angelelli@qt.io> |
| commit time | Tue, 27 Nov 2018 18:48:52 +0000 |