diff options
| author | in1tiate <32779090+in1tiate@users.noreply.github.com> | 2025-01-13 17:28:56 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-13 17:28:56 -0600 |
| commit | 047742a729f8f4f8f4e9c85bf475f75b16f4f7b7 (patch) | |
| tree | c1214ab2bd2f18c0201a2be351a38ae6b6ec109f /src/courtroom.h | |
| parent | 115c1ccd1dc64fceb8a165965ef172dd8812cf85 (diff) | |
Add the ability to "favorite" songs and pin them to the the top of the songlist (#1066)
* add song favoriting
* remove incorrectly placed sort()
* store as qstringlist instead of using keys
Diffstat (limited to 'src/courtroom.h')
| -rw-r--r-- | src/courtroom.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/courtroom.h b/src/courtroom.h index 6cae0ff4..7c075b9d 100644 --- a/src/courtroom.h +++ b/src/courtroom.h @@ -834,6 +834,8 @@ private Q_SLOTS: void on_music_search_edited(QString p_text); void on_music_list_double_clicked(QTreeWidgetItem *p_item, int column); void on_music_list_context_menu_requested(const QPoint &pos); + void add_favorite_song(QTreeWidgetItem *p_item); + void remove_favorite_song(QTreeWidgetItem *p_item); void music_fade_out(bool toggle); void music_fade_in(bool toggle); void music_synchronize(bool toggle); |
