profling calls

This commit is contained in:
Keith Edmunds 2024-11-21 18:31:11 +00:00
parent c4c0ef065b
commit 01a7b7282a

View File

@ -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.
"""