summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorTannin <devnull@localhost>2013-10-18 23:35:38 +0200
committerTannin <devnull@localhost>2013-10-18 23:35:38 +0200
commit9a03783f491505940a20d006055a5427bf364807 (patch)
tree7569f788f2d2e2b0033f274466d38c1ae7098183 /src/mainwindow.cpp
parentd73b1e38c8c4dd817fc833fee44216244c87da43 (diff)
- tooltip on download list now contains the file name
- bugfix: when refreshing the directory tree conflict information wasn't immediately refreshed (including on start) - bugfix: dataChanged events wasn't emitted when user changed the modlist - bugfix: file patterns in checkfnis plugin weren't completely correct
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index de6f20cf..4c72ada3 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -2080,7 +2080,7 @@ QStringList MainWindow::findFiles(const QString &path, const std::function<bool(
if (dir != NULL) {
std::vector<FileEntry::Ptr> files = dir->getFiles();
foreach (FileEntry::Ptr file, files) {
- if (filter(ToQString(file->getName()))) {
+ if (filter(ToQString(file->getFullPath()))) {
result.append(ToQString(file->getFullPath()));
}
}
@@ -2498,6 +2498,11 @@ void MainWindow::directory_refreshed()
// some problem-reports may rely on the virtual directory tree so they need to be updated
// now
updateProblemsButton();
+
+ for (int i = 0; i < m_ModList.rowCount(); ++i) {
+ ModInfo::Ptr modInfo = ModInfo::getByIndex(i);
+ modInfo->clearCaches();
+ }
}