Skip to content

Commit

Permalink
fix title in recommend section
Browse files Browse the repository at this point in the history
  • Loading branch information
electron0zero committed Nov 29, 2016
1 parent e079082 commit 9d3b096
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions recommend/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -364,8 +364,8 @@ def currentMediaChangedHandler(self):
print(self.currentPlayingMediaUrl)

recommendModel = self.manageCache.queryCache(self.currentPlayingMediaUrl, self.manageLocalStorage)
recommendModel.setHeaderData(0, QtCore.Qt.Horizontal, 'Track Title')
recommendModel.setHeaderData(1, QtCore.Qt.Horizontal, 'Artist')
recommendModel.setHeaderData(1, QtCore.Qt.Horizontal, 'Track Title')
recommendModel.setHeaderData(2, QtCore.Qt.Horizontal, 'Artist')
self.recommendLocalListView.setSelectionBehavior(QtWidgets.QTableView.SelectRows)
# self.playlistView.setColumnWidth(1000, 2000)
# Query db and hide all the not required fields
Expand Down

0 comments on commit 9d3b096

Please sign in to comment.