feat: add missing presence and close stream
This commit is contained in:
+4
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user