Default stream redundancy to zero on Android and desktop

This commit is contained in:
evgeny committed 2026-10-21 12:42:23 +02:00
1 parent ef58c01cce
commit 1b6f41e8fa
8 files changed
+29 -23

No files matched your search

+1 -1
View File
@@ -245,7 +245,7 @@ SettingsDialog::SettingsDialog(const QString& configPath, DbManager* db, UtunNod
QSettings streamConfig(m_configPath, QSettings::IniFormat);
m_streamSubblocks->setValue(streamConfig.value("chatserver/stream_subblocks", 8).toInt());
m_streamRedundant->setRange(0, m_streamSubblocks->value() - 1);
m_streamRedundant->setValue(streamConfig.value("chatserver/stream_rs_redundant", 2).toInt());
m_streamRedundant->setValue(streamConfig.value("chatserver/stream_rs_redundant", 0).toInt());
connect(m_streamSubblocks, QOverload<int>::of(&QSpinBox::valueChanged), this, [this](int n) {
m_streamRedundant->setMaximum(n - 1);
});