From 9a03783f491505940a20d006055a5427bf364807 Mon Sep 17 00:00:00 2001 From: Tannin Date: Fri, 18 Oct 2013 23:35:38 +0200 Subject: - 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 --- src/mainwindow.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/mainwindow.cpp') 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 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(); + } } -- cgit v1.3.1