diff options
| author | Tannin <devnull@localhost> | 2013-10-18 23:35:38 +0200 |
|---|---|---|
| committer | Tannin <devnull@localhost> | 2013-10-18 23:35:38 +0200 |
| commit | 9a03783f491505940a20d006055a5427bf364807 (patch) | |
| tree | 7569f788f2d2e2b0033f274466d38c1ae7098183 /src/downloadlist.cpp | |
| parent | d73b1e38c8c4dd817fc833fee44216244c87da43 (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/downloadlist.cpp')
| -rw-r--r-- | src/downloadlist.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/downloadlist.cpp b/src/downloadlist.cpp index 9ab48013..fe021a27 100644 --- a/src/downloadlist.cpp +++ b/src/downloadlist.cpp @@ -75,12 +75,14 @@ QVariant DownloadList::data(const QModelIndex &index, int role) const if (role == Qt::DisplayRole) { return index.row(); } else if (role == Qt::ToolTipRole) { + QString text = m_Manager->getFileName(index.row()) + "\n"; if (m_Manager->isInfoIncomplete(index.row())) { - return tr("Information missing, please select \"Query Info\" from the context menu to re-retrieve."); + text += tr("Information missing, please select \"Query Info\" from the context menu to re-retrieve."); } else { NexusInfo info = m_Manager->getNexusInfo(index.row()); - return QString("%1 (ID %2) %3").arg(info.m_ModName).arg(m_Manager->getModID(index.row())).arg(info.m_Version); + text += QString("%1 (ID %2) %3").arg(info.m_ModName).arg(m_Manager->getModID(index.row())).arg(info.m_Version); } + return text; } else { return QVariant(); } |
