diff options
| author | Tannin <devnull@localhost> | 2014-07-14 21:22:44 +0200 |
|---|---|---|
| committer | Tannin <devnull@localhost> | 2014-07-14 21:22:44 +0200 |
| commit | 84c66727bff954fd0820fc9f33833848496e9531 (patch) | |
| tree | ca3497150eb9f124d7a124cc48c8d6d1330b7243 /src/modlistview.cpp | |
| parent | af8973312188c3d90b8e3f8e2f8036d35e3f21ea (diff) | |
- when highlighting a mod the overwritten and overwriting mods are now highlighted in the list
- when starting an external application MO now wraps the process in a job and waits on that instead. This way MO is not unlocked early when skyrim is started through skse
- mod info dialog no longer offers the esp tab for foreign mods because that caused confusion
- updated translation files
- download directory and mod directory are now created if necessary
- bugfix: staging script created unnecessary copies of translation files
- bugfix: potential invalid array access when trying to determine best mod order
- bugfix: deleter file wasn't removed after esp hiding was disabled
- bugfix: potential access to to un-initialized login reply
- bugfix: changed the initialization order to allow more ui controls to be localized
Diffstat (limited to 'src/modlistview.cpp')
| -rw-r--r-- | src/modlistview.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/modlistview.cpp b/src/modlistview.cpp index 1a4f6266..2789afe1 100644 --- a/src/modlistview.cpp +++ b/src/modlistview.cpp @@ -36,8 +36,10 @@ void ModListViewStyle::drawPrimitive(PrimitiveElement element, const QStyleOptio ModListView::ModListView(QWidget *parent)
: QTreeView(parent)
+ , m_Scrollbar(new ViewMarkingScrollBar(this->model(), this))
{
// setStyle(new ModListViewStyle(style(), indentation()));
+ setVerticalScrollBar(m_Scrollbar);
}
void ModListView::dragEnterEvent(QDragEnterEvent *event)
@@ -46,3 +48,9 @@ void ModListView::dragEnterEvent(QDragEnterEvent *event) QTreeView::dragEnterEvent(event);
}
+
+void ModListView::setModel(QAbstractItemModel *model)
+{
+ QTreeView::setModel(model);
+ setVerticalScrollBar(new ViewMarkingScrollBar(model, this));
+}
|
