1
0
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:
Zetok Zalbavar 2015-09-10 16:08:30 +01:00
parent 2409827582
commit ccc2dd2ad9
No known key found for this signature in database
GPG Key ID: C953D3880212068A

View File

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