Remove dummy_for_profiling parameters

This commit is contained in:
Keith Edmunds 2024-11-16 13:06:35 +00:00
parent 40b5fc020d
commit f19fc2e8c0
2 changed files with 3 additions and 3 deletions

View File

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

View File

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