summaryrefslogtreecommitdiff
path: root/src/modlistview.cpp
diff options
context:
space:
mode:
authorMikaël Capelle <capelle.mikael@gmail.com>2021-01-08 20:15:01 +0100
committerMikaël Capelle <capelle.mikael@gmail.com>2021-01-10 10:27:30 +0100
commit2606b10c7efdaa65e56ece77bad90bd55c154111 (patch)
tree89f002301d253a5812dc4c15a29eb425531dc809 /src/modlistview.cpp
parent3e5d71923ffa41e2af552024cd929aca93830fd0 (diff)
Display upgrade/warning for versions on collapsed separators.
Diffstat (limited to 'src/modlistview.cpp')
-rw-r--r--src/modlistview.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modlistview.cpp b/src/modlistview.cpp
index f4f045c6..c23cd34b 100644
--- a/src/modlistview.cpp
+++ b/src/modlistview.cpp
@@ -19,6 +19,7 @@
#include "modflagicondelegate.h"
#include "modconflicticondelegate.h"
#include "modcontenticondelegate.h"
+#include "modlistversiondelegate.h"
#include "modlistviewactions.h"
#include "modlistdropinfo.h"
#include "modlistcontextmenu.h"
@@ -776,6 +777,7 @@ void ModListView::setup(OrganizerCore& core, CategoryFactory& factory, MainWindo
setItemDelegateForColumn(ModList::COL_FLAGS, new ModFlagIconDelegate(this, ModList::COL_FLAGS, 120));
setItemDelegateForColumn(ModList::COL_CONFLICTFLAGS, new ModConflictIconDelegate(this, ModList::COL_CONFLICTFLAGS, 80));
setItemDelegateForColumn(ModList::COL_CONTENT, new ModContentIconDelegate(this, ModList::COL_CONTENT, 150));
+ setItemDelegateForColumn(ModList::COL_VERSION, new ModListVersionDelegate(this));
if (m_core->settings().geometry().restoreState(header())) {
// hack: force the resize-signal to be triggered because restoreState doesn't seem to do that