1
0
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:
Tux3 / Mlkj / !Lev.uXFMLA 2014-11-15 14:00:16 +01:00
commit e0cac02421
No known key found for this signature in database
GPG Key ID: 7E086DD661263264

View File

@ -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);