diff options
author | Arno <arno@disconnect.de> | 2018-02-17 11:22:40 +0100 |
---|---|---|
committer | Arno <arno@disconnect.de> | 2018-02-17 11:22:40 +0100 |
commit | 98bc2dd70847735d852b644da3fa5cc0f1fd1623 (patch) | |
tree | cd52008cb9f9dd6b3c1414ac7aa5665e15da0d6f /collectionartistsview.cpp | |
parent | 3788e9c79550a7e1ac1b3b9e722a53e388db890f (diff) | |
download | BeetPlayer-98bc2dd70847735d852b644da3fa5cc0f1fd1623.tar.gz BeetPlayer-98bc2dd70847735d852b644da3fa5cc0f1fd1623.tar.bz2 BeetPlayer-98bc2dd70847735d852b644da3fa5cc0f1fd1623.zip |
Fix sorting in CollectionWidgets
Sort everything ascending, except CollectionDatesView.
Diffstat (limited to 'collectionartistsview.cpp')
-rw-r--r-- | collectionartistsview.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/collectionartistsview.cpp b/collectionartistsview.cpp index 13b98b1..464ca14 100644 --- a/collectionartistsview.cpp +++ b/collectionartistsview.cpp @@ -8,6 +8,7 @@ CollectionArtistsView::CollectionArtistsView(QWidget *parent) : CollectionWidget } void CollectionArtistsView::populate(){ + disableSorting(); model()->clear(); model()->setHorizontalHeaderLabels(headers()); QSqlDatabase db = QSqlDatabase::database("beetplayerdb"); @@ -66,4 +67,5 @@ void CollectionArtistsView::populate(){ } } } + enableSorting(); } |