Add missing signal

This commit is contained in:
Jonas Kvinge 2020-01-28 18:19:15 +01:00
parent cf06bf91e3
commit 2bf8187bff
1 changed files with 6 additions and 7 deletions

View File

@ -46,17 +46,18 @@ class TrackSelectionDialog : public QDialog {
void Init(const SongList &songs); void Init(const SongList &songs);
public slots: public slots:
void FetchTagProgress(const Song &original_song, const QString &progress); void FetchTagProgress(const Song &original_song, const QString &progress);
void FetchTagFinished(const Song &original_song, const SongList &songs_guessed); void FetchTagFinished(const Song &original_song, const SongList &songs_guessed);
// QDialog // QDialog
void accept(); void accept();
signals: signals:
void Error(const QString&);
void SongChosen(const Song &original_song, const Song &new_metadata); void SongChosen(const Song &original_song, const Song &new_metadata);
private slots: private slots:
void UpdateStack(); void UpdateStack();
void NextSong(); void NextSong();
@ -65,7 +66,7 @@ private slots:
void ResultSelected(); void ResultSelected();
void AcceptFinished(); void AcceptFinished();
private: private:
Ui_TrackSelectionDialog *ui_; Ui_TrackSelectionDialog *ui_;
struct Data { struct Data {
@ -84,7 +85,7 @@ private:
void SetLoading(const QString &message); void SetLoading(const QString &message);
static void SaveData(const QList<Data> &data); static void SaveData(const QList<Data> &data);
private: private:
QList<Data> data_; QList<Data> data_;
QPushButton *previous_button_; QPushButton *previous_button_;
@ -94,5 +95,3 @@ private:
}; };
#endif // TRACKSELECTIONDIALOG_H #endif // TRACKSELECTIONDIALOG_H