mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Merge remote-tracking branch 'zetok/settings'
This commit is contained in:
commit
7b3ddff202
|
@ -36,9 +36,9 @@ AdvancedForm::AdvancedForm() :
|
|||
|
||||
bodyUI->cbMakeToxPortable->setChecked(Settings::getInstance().getMakeToxPortable());
|
||||
bodyUI->syncTypeComboBox->setSizeAdjustPolicy(QComboBox::AdjustToMinimumContentsLength);
|
||||
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)")
|
||||
bodyUI->syncTypeComboBox->addItems({tr("Synchronized - safe / recommended"),
|
||||
tr("Partially async - risky / 20% faster"),
|
||||
tr("Asynchronous - dangerous / fastest")
|
||||
});
|
||||
int index = 2 - static_cast<int>(Settings::getInstance().getDbSyncType());
|
||||
bodyUI->syncTypeComboBox->setCurrentIndex(index);
|
||||
|
|
|
@ -73,7 +73,7 @@
|
|||
<item>
|
||||
<widget class="QLabel" name="dbLabel">
|
||||
<property name="text">
|
||||
<string><html><head/><body><p><a href="http://www.sqlite.org/pragma.html#pragma_synchronous"><span style=" text-decoration: underline; color:#0000ff;">Synchronous writing to DB</span></a></p></body></html></string>
|
||||
<string><html><head/><body><p><a href="http://www.sqlite.org/pragma.html#pragma_synchronous"><span style=" text-decoration: underline; color:#0000ff;">Writing to DB</span></a></p></body></html></string>
|
||||
</property>
|
||||
<property name="textFormat">
|
||||
<enum>Qt::RichText</enum>
|
||||
|
|
Loading…
Reference in New Issue
Block a user