Extended "cache" button info note to be more descriptive.
cacheLayout = new QHBoxLayout(this);
verticalLayout->addLayout(cacheLayout);
+ accentsCheckBox = new QCheckBox(tr("Strip accents \n(searching takes more time, "
+ "but spelling don't have to be exact)"));
+ verticalLayout->addWidget(accentsCheckBox);
cacheCheckBox = new QCheckBox(tr("Optimize for quicker searches (may take some time)"),this);
cacheCheckBox->setChecked(true);
else {
settings->setValue("generateCache", "false");
}
+ if(loadDialog.accentsCheckBox->isChecked())
+ settings->setValue("strip_accents", "true");
+ else
+ settings->setValue("strip_accents", "false");
+
return settings;
}
QPushButton* browseButton;
QLabel* browseLabel;
QCheckBox* cacheCheckBox;
+ QCheckBox* accentsCheckBox;
QVBoxLayout* verticalLayout;
QHBoxLayout* browseLayout;
QHBoxLayout* cacheLayout;
cacheLayout = new QHBoxLayout(this);
verticalLayout->addLayout(cacheLayout);
- accentsCheckBox = new QCheckBox("Strip accents \n(searching takes more time, "
- "but spelling don't have to be exact)");
+ accentsCheckBox = new QCheckBox(tr("Strip accents \n(searching takes more time, "
+ "but spelling don't have to be exact)"));
verticalLayout->addWidget(accentsCheckBox);
if(plugin->settings()->value("strip_accents") == "true")
else
accentsCheckBox->setChecked(false);
- cacheCheckBox = new QCheckBox(tr("Cached"),this);
+ cacheCheckBox = new QCheckBox(tr("Optimize for quicker searches (may take some time)"),this);
if(plugin->settings()->value("cached") == "true") {
cacheCheckBox->setChecked(true);
_generateCache = true;