first fixes

This commit is contained in:
Zach H 2015-07-12 11:00:11 -04:00
parent dc05a14f4c
commit 97f298452e
4 changed files with 3 additions and 8 deletions

View file

@ -91,7 +91,7 @@ void SettingsCache::setCardInfoViewMode(const int _viewMode) {
settings->setValue("cards/cardinfoviewmode", cardInfoViewMode);
}
void SettingsCache::setHighlightWords(const QString _highlightWords) {
void SettingsCache::setHighlightWords(const QString &_highlightWords) {
// Words are seperated by a comma and you can not use spaces in words
highlightWords = _highlightWords.simplified().replace(" ", "").split(",");
settings->setValue("personal/highlightWords", highlightWords);