|
a/src/qtgui/idxthread.cpp |
|
b/src/qtgui/idxthread.cpp |
|
... |
|
... |
78 |
int loglevel;
|
78 |
int loglevel;
|
79 |
myconf->setKeyDir("");
|
79 |
myconf->setKeyDir("");
|
80 |
myconf->getConfParam("loglevel", &loglevel);
|
80 |
myconf->getConfParam("loglevel", &loglevel);
|
81 |
DebugLog::getdbl()->setloglevel(loglevel);
|
81 |
DebugLog::getdbl()->setloglevel(loglevel);
|
82 |
ConfIndexer *indexer = new ConfIndexer(myconf, this);
|
82 |
ConfIndexer *indexer = new ConfIndexer(myconf, this);
|
83 |
if (indexer->index(rezero)) {
|
83 |
if (indexer->index(rezero, ConfIndexer::IxTAll)) {
|
84 |
indexingstatus = IDXTS_OK;
|
84 |
indexingstatus = IDXTS_OK;
|
85 |
indexingReason = "";
|
85 |
indexingReason = "";
|
86 |
} else {
|
86 |
} else {
|
87 |
indexingstatus = IDXTS_ERROR;
|
87 |
indexingstatus = IDXTS_ERROR;
|
88 |
indexingReason = "Indexing failed: " + indexer->getReason();
|
88 |
indexingReason = "Indexing failed: " + indexer->getReason();
|