diff --git a/app/musicmuster.py b/app/musicmuster.py index 46a76ae..ceec98d 100755 --- a/app/musicmuster.py +++ b/app/musicmuster.py @@ -1068,7 +1068,7 @@ class Window(QMainWindow, Ui_MainWindow): else: webbrowser.get("browser").open_new_tab(url) - def paste_rows(self, dummy_for_profiling=None) -> None: + def paste_rows(self) -> None: """ Paste earlier cut rows. """ diff --git a/app/playlistmodel.py b/app/playlistmodel.py index 6476c35..f45c8fb 100644 --- a/app/playlistmodel.py +++ b/app/playlistmodel.py @@ -736,7 +736,7 @@ class PlaylistModel(QAbstractTableModel): self.update_track_times() self.invalidate_rows(row_numbers) - def move_rows(self, from_rows: list[int], to_row_number: int, dummy_for_profiling=None) -> None: + def move_rows(self, from_rows: list[int], to_row_number: int) -> None: """ Move the playlist rows given to to_row and below. """ @@ -975,7 +975,7 @@ class PlaylistModel(QAbstractTableModel): # Update display self.invalidate_row(track_sequence.previous.row_number) - def refresh_data(self, session: db.session, dummy_for_profiling=None) -> None: + def refresh_data(self, session: db.session) -> None: """Populate self.playlist_rows with playlist data""" # We used to clear self.playlist_rows each time but that's