summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorTannin <devnull@localhost>2013-03-29 10:25:38 +0100
committerTannin <devnull@localhost>2013-03-29 10:25:38 +0100
commitf682f82db5d8ba514e927c9d7e88107348d5c32a (patch)
tree57e407a395600a0aa44f555d36d70761e364ccf5 /src/mainwindow.cpp
parent10485e15e4de3e1a6c30733ad2d4850591d31509 (diff)
some improvements to the grouped modlist views
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 37d041c0..43694c32 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -3969,7 +3969,7 @@ void MainWindow::on_groupCombo_currentIndexChanged(int index)
QAbstractProxyModel *newModel = NULL;
switch (index) {
case 1: {
- newModel = new QtGroupingProxy(m_ModListSortProxy, QModelIndex(), ModList::COL_CATEGORY);
+ newModel = new QtGroupingProxy(m_ModListSortProxy, QModelIndex(), ModList::COL_CATEGORY, Qt::UserRole);
} break;
case 2: {
newModel = new QtGroupingProxy(m_ModListSortProxy, QModelIndex(), ModList::COL_MODID);