fix: FTBFS, and tidy code

This commit is contained in:
2025-06-25 21:55:08 +08:00
parent 040e2a7b5f
commit c828f86b74
5 changed files with 7 additions and 22 deletions

View File

@ -62,12 +62,12 @@ public:
Q_INVOKABLE QModelIndex loadPlaylist(const QList<QUrl> & urls);
Q_INVOKABLE QModelIndex loadPlaylist(const QUrl & url);
inline int totalCount() const;
int totalCount() const;
QModelIndex previousIndex() const;
QModelIndex nextIndex() const;
QModelIndex curIndex() const;
inline bool isFirstIndex() const;
inline bool isLastIndex() const;
bool isFirstIndex() const;
bool isLastIndex() const;
void setCurrentIndex(const QModelIndex & index);
QUrl urlByIndex(const QModelIndex & index);
QString localFileByIndex(const QModelIndex & index);