diff --git a/app/playlistmodel.py b/app/playlistmodel.py index 86c91bd..6719027 100644 --- a/app/playlistmodel.py +++ b/app/playlistmodel.py @@ -737,7 +737,8 @@ class PlaylistModel(QAbstractTableModel): self.update_track_times() self.invalidate_rows(row_numbers) - def move_rows(self, from_rows: list[int], to_row_number: int) -> None: + @line_profiler.profile + def move_rows(self, from_rows: list[int], to_row_number: int, dummy_for_profiling=None) -> None: """ Move the playlist rows given to to_row and below. """