summaryrefslogtreecommitdiff
path: root/src/directoryrefresher.cpp
diff options
context:
space:
mode:
authorTannin <devnull@localhost>2014-05-04 14:50:01 +0200
committerTannin <devnull@localhost>2014-05-04 14:50:01 +0200
commit6fb36d6c028d4fe88043c764e42b54df9b06f48b (patch)
tree8c23cfc17447d217d91eb170cffa5a6372f003b1 /src/directoryrefresher.cpp
parentea1f959ad592c1f10c5c60908e01c220aed206a5 (diff)
- main window now has a small view displaying log messages
- mod list will now be highlighted when grouping is active is active - download tooltip now supports bbcode markup in the description - bbcode translator will now translate some named colors - algorithm for detection of mod order problems is now more sophisticated - exposed more functionality to python plugins - updated to qt 4.8.6 dlls - bugfix: plugin list wasn't - bugfix: state changes in mod list wasn't always reported - bugfix: loot client will now create necessary directory - bugfix: NCC sometimes used wrong source path for extracting - bugfix: removed noisy debug message
Diffstat (limited to 'src/directoryrefresher.cpp')
-rw-r--r--src/directoryrefresher.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/directoryrefresher.cpp b/src/directoryrefresher.cpp
index 70bcf5b6..43e13a37 100644
--- a/src/directoryrefresher.cpp
+++ b/src/directoryrefresher.cpp
@@ -93,6 +93,7 @@ void DirectoryRefresher::refresh()
//TODO i is the priority here, where higher = more important. the input vector is also sorted by priority but inverted!
for (int i = 1; iter != m_Mods.end(); ++iter, ++i) {
QString modName = std::get<0>(*iter);
+qDebug("load files for mod %s", qPrintable(modName));
try {
addModToStructure(m_DirectoryStructure, modName, i, std::get<1>(*iter));
} catch (const std::exception &e) {
@@ -102,11 +103,14 @@ void DirectoryRefresher::refresh()
}
std::wstring dataDirectory = GameInfo::instance().getGameDirectory() + L"\\data";
+qDebug("load files for data folder");
m_DirectoryStructure->addFromOrigin(L"data", dataDirectory, 0);
emit progress(100);
+qDebug("cleanup structure");
cleanStructure(m_DirectoryStructure);
+qDebug("all done");
emit refreshed();
}