Dont update temporary metadata while editing song with inline editor

This commit is contained in:
Jonas Kvinge
2020-01-28 19:41:46 +01:00
parent 2bf8187bff
commit 624a920aec
5 changed files with 25 additions and 4 deletions

View File

@@ -220,6 +220,7 @@ class Playlist : public QAbstractListModel {
bool nowplaying() const { return nowplaying_; }
void set_scrobbled(bool state) { scrobbled_ = state; }
void set_nowplaying(bool state) { nowplaying_ = state; }
void set_editing(const int row) { editing_ = row; }
qint64 scrobble_point_nanosec() const { return scrobble_point_; }
void UpdateScrobblePoint(const qint64 seek_point_nanosec = 0);
@@ -395,6 +396,8 @@ class Playlist : public QAbstractListModel {
bool nowplaying_;
qint64 scrobble_point_;
int editing_;
};
#endif // PLAYLIST_H