From 01a7b7282afc86c0327a908fe2d6a28c8cb70551 Mon Sep 17 00:00:00 2001 From: Keith Edmunds Date: Thu, 21 Nov 2024 18:31:11 +0000 Subject: [PATCH] profling calls --- app/playlistmodel.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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. """