feat: add missing presence and close stream

This commit is contained in:
talksik
2026-01-29 11:59:56 -08:00
parent a622431288
commit efcf45ff58
3 changed files with 137 additions and 59 deletions
+4 -1
View File
@@ -80,7 +80,7 @@ MainWindow::MainWindow(QWidget *parent)
updatePingIndicator();
ui->splitter->setStretchFactor(0, 1);
ui->splitter->setStretchFactor(1, 2);
ui->splitter->setStretchFactor(1, 3);
ui->splitter->setStretchFactor(2, 1);
setupModels();
@@ -186,6 +186,9 @@ void MainWindow::setupModels()
// Connect particle selection changes
connect(ui->particlesView->selectionModel(), &QItemSelectionModel::selectionChanged, this,
&MainWindow::onParticleSelectionChanged);
// setup human presence list
ui->presenceList->addItems(QStringList{"agnes", "katie", "stephen", "viet", "anthony"});
}
void MainWindow::onTreeSelectionChanged(const QItemSelection &selected, const QItemSelection &deselected)