more visual improvements

This commit is contained in:
Max-Wilhelm Bruker 2011-07-05 22:40:03 +02:00
parent fccc91818d
commit 09d0e65d1d
4 changed files with 25 additions and 11 deletions

View file

@ -22,6 +22,7 @@ GameSelector::GameSelector(AbstractClient *_client, TabRoom *_room, const QMap<i
gameListProxyModel->setSortCaseSensitivity(Qt::CaseInsensitive);
gameListView->setModel(gameListProxyModel);
gameListView->setSortingEnabled(true);
gameListView->setAlternatingRowColors(true);
if (_room)
gameListView->header()->hideSection(0);
gameListView->header()->setResizeMode(1, QHeaderView::ResizeToContents);