Fix parameter name mispatches
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
#include "collection/sqlrow.h"
|
||||
#include "playlist/playlistbackend.h"
|
||||
|
||||
InternetPlaylistItem::InternetPlaylistItem(const Song::Source &source)
|
||||
InternetPlaylistItem::InternetPlaylistItem(const Song::Source source)
|
||||
: PlaylistItem(source) {}
|
||||
|
||||
InternetPlaylistItem::InternetPlaylistItem(InternetService *service, const Song &metadata)
|
||||
|
||||
@@ -35,7 +35,7 @@ class InternetService;
|
||||
class InternetPlaylistItem : public PlaylistItem {
|
||||
|
||||
public:
|
||||
explicit InternetPlaylistItem(const Song::Source &type);
|
||||
explicit InternetPlaylistItem(const Song::Source source);
|
||||
explicit InternetPlaylistItem(InternetService *service, const Song &metadata);
|
||||
bool InitFromQuery(const SqlRow &query);
|
||||
Song Metadata() const;
|
||||
|
||||
@@ -34,7 +34,7 @@ class InternetSearchItemDelegate : public CollectionItemDelegate {
|
||||
public:
|
||||
explicit InternetSearchItemDelegate(InternetSearchView *view);
|
||||
|
||||
void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const;
|
||||
void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &idx) const;
|
||||
|
||||
private:
|
||||
InternetSearchView *view_;
|
||||
|
||||
@@ -149,10 +149,10 @@ class InternetSearchView : public QWidget {
|
||||
void StartSearch(const QString &query);
|
||||
void SearchDone(const int service_id, const SongList &songs, const QString &error);
|
||||
|
||||
void UpdateStatus(const int id, const QString &text);
|
||||
void ProgressSetMaximum(const int id, const int progress);
|
||||
void UpdateProgress(const int id, const int max);
|
||||
void AddResults(const int id, const ResultList &results);
|
||||
void UpdateStatus(const int service_id, const QString &text);
|
||||
void ProgressSetMaximum(const int service_id, const int max);
|
||||
void UpdateProgress(const int service_id, const int progress);
|
||||
void AddResults(const int service_id, const ResultList &results);
|
||||
|
||||
void FocusOnFilter(QKeyEvent *e);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user