From be3862ec402eaeb7c207c9fcca73e49137cfead3 Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Wed, 12 Sep 2018 22:55:53 +0200 Subject: [PATCH] Add missing signal --- src/device/gpoddevice.h | 11 +++++++---- src/device/gpodloader.h | 2 +- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/src/device/gpoddevice.h b/src/device/gpoddevice.h index aa8464831..e08febf44 100644 --- a/src/device/gpoddevice.h +++ b/src/device/gpoddevice.h @@ -69,19 +69,22 @@ public: bool DeleteFromStorage(const DeleteJob &job); void FinishDelete(bool success); -protected slots: + signals: + void Error(const QString &message); + + protected slots: void LoadFinished(Itdb_iTunesDB *db); -protected: + protected: Itdb_Track *AddTrackToITunesDb(const Song &metadata); void AddTrackToModel(Itdb_Track *track, const QString &prefix); bool RemoveTrackFromITunesDb(const QString &path, const QString &relative_to = QString()); virtual void FinaliseDatabase() {} -private: + private: void WriteDatabase(bool success); -protected: + protected: QThread *loader_thread_; GPodLoader *loader_; diff --git a/src/device/gpodloader.h b/src/device/gpodloader.h index 958d4604e..d20418b54 100644 --- a/src/device/gpodloader.h +++ b/src/device/gpodloader.h @@ -49,7 +49,7 @@ class GPodLoader : public QObject { public slots: void LoadDatabase(); -signals: + signals: void Error(const QString &message); void TaskStarted(int task_id); void LoadFinished(Itdb_iTunesDB *db);