|
a/src/qtgui/guiutils.cpp |
|
b/src/qtgui/guiutils.cpp |
|
... |
|
... |
182 |
// known dbs and active (searched) ones.
|
182 |
// known dbs and active (searched) ones.
|
183 |
// When starting up, we also add from the RECOLL_EXTRA_DBS environment
|
183 |
// When starting up, we also add from the RECOLL_EXTRA_DBS environment
|
184 |
// variable.
|
184 |
// variable.
|
185 |
// This are stored inside the dynamic configuration file (aka: history),
|
185 |
// This are stored inside the dynamic configuration file (aka: history),
|
186 |
// as they are likely to depend on RECOLL_CONFDIR.
|
186 |
// as they are likely to depend on RECOLL_CONFDIR.
|
187 |
const string allEdbsSk = "allExtDbs";
|
|
|
188 |
const string actEdbsSk = "actExtDbs";
|
|
|
189 |
if (writing) {
|
187 |
if (writing) {
|
190 |
g_dynconf->eraseAll(allEdbsSk);
|
188 |
g_dynconf->eraseAll(allEdbsSk);
|
191 |
for (list<string>::const_iterator it = prefs.allExtraDbs.begin();
|
189 |
for (list<string>::const_iterator it = prefs.allExtraDbs.begin();
|
192 |
it != prefs.allExtraDbs.end(); it++) {
|
190 |
it != prefs.allExtraDbs.end(); it++) {
|
193 |
g_dynconf->enterString(allEdbsSk, *it);
|
191 |
g_dynconf->enterString(allEdbsSk, *it);
|