From 95616601041eaaeb879d7e06e2ae8b05c7da0645 Mon Sep 17 00:00:00 2001 From: Zetok Zalbavar Date: Fri, 28 Aug 2015 11:31:43 +0100 Subject: [PATCH] Simplyfy advanced settings - DB setting thanks to @AWeinb for idea, fixes #1514 --- src/widget/form/settings/advancedform.cpp | 6 +++--- src/widget/form/settings/advancedsettings.ui | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/widget/form/settings/advancedform.cpp b/src/widget/form/settings/advancedform.cpp index e73dea62b..5d5ea739c 100644 --- a/src/widget/form/settings/advancedform.cpp +++ b/src/widget/form/settings/advancedform.cpp @@ -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(Settings::getInstance().getDbSyncType()); bodyUI->syncTypeComboBox->setCurrentIndex(index); diff --git a/src/widget/form/settings/advancedsettings.ui b/src/widget/form/settings/advancedsettings.ui index fe50a8603..c0d15be0d 100644 --- a/src/widget/form/settings/advancedsettings.ui +++ b/src/widget/form/settings/advancedsettings.ui @@ -73,7 +73,7 @@ - <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> + <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> Qt::RichText