summaryrefslogtreecommitdiffstats
path: root/gui/mainwindow.cpp
diff options
context:
space:
mode:
authorAndrew <forkk@forkk.net>2013-05-03 20:14:38 -0500
committerAndrew <forkk@forkk.net>2013-05-03 20:14:38 -0500
commit857a4e4dbed88b647619c213d731dc460d034820 (patch)
treeddff2ab3d6af3fb049b1931cd8b27cbedd7b6ee3 /gui/mainwindow.cpp
parent055198303c7bf15f456687838c37650871596946 (diff)
downloadMultiMC-857a4e4dbed88b647619c213d731dc460d034820.tar
MultiMC-857a4e4dbed88b647619c213d731dc460d034820.tar.gz
MultiMC-857a4e4dbed88b647619c213d731dc460d034820.tar.lz
MultiMC-857a4e4dbed88b647619c213d731dc460d034820.tar.xz
MultiMC-857a4e4dbed88b647619c213d731dc460d034820.zip
Implemented version list sorting.
Resolves MMC-8: https://jira.forkk.net/browse/MMC-8
Diffstat (limited to 'gui/mainwindow.cpp')
-rw-r--r--gui/mainwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/mainwindow.cpp b/gui/mainwindow.cpp
index 6f99c18b..750610c5 100644
--- a/gui/mainwindow.cpp
+++ b/gui/mainwindow.cpp
@@ -74,7 +74,7 @@ MainWindow::MainWindow ( QWidget *parent ) :
pal.setBrush(QPalette::Base, QBrush(QPixmap(QString::fromUtf8(":/backgrounds/kitteh"))));
view->setPalette(pal);
*/
- /*
+
view->setStyleSheet(
"QListView\
{\
@@ -85,7 +85,7 @@ MainWindow::MainWindow ( QWidget *parent ) :
background-repeat: none;\
background-color:palette(base);\
}");
- */
+
view->setSelectionMode ( QAbstractItemView::SingleSelection );
//view->setSpacing( KDialog::spacingHint() );
view->setCategoryDrawer ( drawer );