mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
More visually appealing wording for DB writing mode
This commit is contained in:
parent
2409827582
commit
ccc2dd2ad9
|
@ -36,9 +36,9 @@ AdvancedForm::AdvancedForm() :
|
||||||
|
|
||||||
bodyUI->cbMakeToxPortable->setChecked(Settings::getInstance().getMakeToxPortable());
|
bodyUI->cbMakeToxPortable->setChecked(Settings::getInstance().getMakeToxPortable());
|
||||||
bodyUI->syncTypeComboBox->setSizeAdjustPolicy(QComboBox::AdjustToMinimumContentsLength);
|
bodyUI->syncTypeComboBox->setSizeAdjustPolicy(QComboBox::AdjustToMinimumContentsLength);
|
||||||
bodyUI->syncTypeComboBox->addItems({tr("Synchronized - safe / recommended"),
|
bodyUI->syncTypeComboBox->addItems({tr("Synchronized - safe (recommended)"),
|
||||||
tr("Partially async - risky / 20% faster"),
|
tr("Partially async - risky (20% faster)"),
|
||||||
tr("Asynchronous - dangerous / fastest")
|
tr("Asynchronous - dangerous (fastest)")
|
||||||
});
|
});
|
||||||
int index = 2 - static_cast<int>(Settings::getInstance().getDbSyncType());
|
int index = 2 - static_cast<int>(Settings::getInstance().getDbSyncType());
|
||||||
bodyUI->syncTypeComboBox->setCurrentIndex(index);
|
bodyUI->syncTypeComboBox->setCurrentIndex(index);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user