Removed an unnecessary line that was already commented out.

This commit is contained in:
The Wobbler 2025-01-26 16:51:08 +01:00
parent 519b2d0adb
commit a48602d379

View file

@ -118,9 +118,6 @@ class PlaylistView(QTreeWidget):
self.app.player.play_track_in_playlist(index) self.app.player.play_track_in_playlist(index)
def on_track_change(self, previous_track, track): def on_track_change(self, previous_track, track):
# remove playing mark from first track bc it may not be in the history
#self.topLevelItem(0).setIcon(0, QIcon(None))
# unmark the previous track and mark the current track as playing # unmark the previous track and mark the current track as playing
if previous_track: if previous_track:
for item in previous_track.items: for item in previous_track.items: