void KindleMainWindow::makeDictionaries() { wordFinder.clear(); dictionariesUnmuted.clear(); loadDictionaries( this, isVisible(), cfg, dictionaries, dictNetMgr, false ); // updateGroupList(); }
/** * This function, as the name says, updates the configuration file. * It should be called in EVERY case where the configuration files change. */ void Kiten::updateConfiguration() { loadDictionaries(); //Update the HTML/CSS for our fonts displayHistoryItem(); _inputManager->updateFontFromConfig(); // Reset the content of the last query. This is because in case the user adds // new dictionaries and wants to execute the same last search, the output // will contain results of the new dictionary/dictionaries added. _lastQuery = DictQuery(); /*: TODO: have a look at this as well detachedView->updateFont(); */ }