qt: ensure network models aren't as cachable too early
most network models are loaded asynchronously, if the cache is built right after the model initialisation, data isn't loaded yet and the first model version is built on an empty list, which can lead to a transitory state where the view assumes it's not loading anymore and that no data is present
parent
c1d4b32c
No related branches found
No related tags found
Showing
- modules/gui/qt/Makefile.am 1 addition, 0 deletionsmodules/gui/qt/Makefile.am
- modules/gui/qt/meson.build 1 addition, 1 deletionmodules/gui/qt/meson.build
- modules/gui/qt/network/networkdevicemodel.cpp 11 additions, 21 deletionsmodules/gui/qt/network/networkdevicemodel.cpp
- modules/gui/qt/network/networkmediamodel.cpp 5 additions, 29 deletionsmodules/gui/qt/network/networkmediamodel.cpp
- modules/gui/qt/network/networksourcesmodel.cpp 8 additions, 17 deletionsmodules/gui/qt/network/networksourcesmodel.cpp
- modules/gui/qt/network/servicesdiscoverymodel.cpp 4 additions, 28 deletionsmodules/gui/qt/network/servicesdiscoverymodel.cpp
- modules/gui/qt/network/standardpathmodel.cpp 8 additions, 19 deletionsmodules/gui/qt/network/standardpathmodel.cpp
- modules/gui/qt/util/locallistbasemodel.hpp 73 additions, 0 deletionsmodules/gui/qt/util/locallistbasemodel.hpp
Loading