mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Merge branch 'pr759'
This commit is contained in:
commit
e0cac02421
|
@ -31,9 +31,9 @@ AdvancedForm::AdvancedForm() :
|
|||
bodyUI->dbLabel->setOpenExternalLinks(true);
|
||||
|
||||
bodyUI->syncTypeComboBox->setSizeAdjustPolicy(QComboBox::AdjustToMinimumContentsLength);
|
||||
bodyUI->syncTypeComboBox->addItems({"FULL - very safe, slowest (recommended)",
|
||||
"NORMAL - almost as safe as FULL, about 20% faster than FULL",
|
||||
"OFF - disables all safety, when something goes wrong your history may be lost, fastest (not recommended)"
|
||||
bodyUI->syncTypeComboBox->addItems({tr("FULL - very safe, slowest (recommended)"),
|
||||
tr("NORMAL - almost as safe as FULL, about 20% faster than FULL"),
|
||||
tr("OFF - disables all safety, when something goes wrong your history may be lost, fastest (not recommended)")
|
||||
});
|
||||
int index = 2 - static_cast<int>(Settings::getInstance().getDbSyncType());
|
||||
bodyUI->syncTypeComboBox->setCurrentIndex(index);
|
||||
|
|
Loading…
Reference in New Issue
Block a user