Instead of clearing and rebuilding the entire session tree model on every sessionsChanged signal, diff old vs new and: - Update existing session/agent properties in place - Remove deleted sessions/agents - Append new sessions/agents This avoids O(n) model rebuilds that cause ListView to re-render all delegates, improving responsiveness with many sessions. |
||
|---|---|---|
| .. | ||
| chatblockmodel.cpp | ||
| chatblockmodel.h | ||
| main.cpp | ||
| main.qml | ||
| ninepconnection.cpp | ||
| ninepconnection.h | ||
| ollie.svg | ||
| ollie9pclient.cpp | ||
| ollie9pclient.h | ||
| org.ollie.gui.desktop | ||
| qml.qrc | ||
| streamfsm.cpp | ||
| streamfsm.h | ||
| thememanager.cpp | ||
| thememanager.h | ||