diff options
author | Jan Mulder <jlmulder@xs4all.nl> | 2017-12-27 09:02:52 +0100 |
---|---|---|
committer | Jan Mulder <jlmulder@xs4all.nl> | 2017-12-28 17:30:13 +0100 |
commit | 522b922d2a7664d1e83239b262ea687681d6a731 (patch) | |
tree | 2c3cd6fce12c3d94fd5fb1e12d12eedc599d2534 /.gitmodules | |
parent | 97d564e92041ffb1997b76d6db7f0be612f9a29b (diff) | |
download | subsurface-522b922d2a7664d1e83239b262ea687681d6a731.tar.gz |
filter: setStringList() at end of every change
This is mainly code maintenance. Instead of emitting explicit
dataChanged signals, we can make sure that setStringList()
is called after all model data manipulation is ready. Accoording
to the Qt docs: "The model will notify any attached views
that its underlying data has changed".
In itself, this does not solve the tripped assert mentioned in
commit 5962f00679fae5, but this calling at the end just feels
better.
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
Diffstat (limited to '.gitmodules')
0 files changed, 0 insertions, 0 deletions