Includes, comments and bugfixes

- Fix includes
- Use common regex (Song::kCoverRemoveDisc) for removing Disc/CD from album
- Remove Disc/CD from album when creating hash
- Make imobiledevice support compile
- Fix setting device on windows
This commit is contained in:
Jonas Kvinge
2018-05-01 00:41:33 +02:00
parent fccbd6790c
commit e337b7933b
518 changed files with 7003 additions and 4693 deletions

View File

@@ -24,13 +24,17 @@
#include "config.h"
#include <memory>
#include <stdbool.h>
#include <QObject>
#include <QThread>
#include <QString>
#include <QStringList>
#include "song.h"
class MusicStorage;
class TaskManager;
class MusicStorage;
class DeleteFiles : public QObject {
Q_OBJECT
@@ -41,11 +45,11 @@ class DeleteFiles : public QObject {
static const int kBatchSize;
void Start(const SongList& songs);
void Start(const QStringList& filenames);
void Start(const SongList &songs);
void Start(const QStringList &filenames);
signals:
void Finished(const SongList& songs_with_errors);
void Finished(const SongList &songs_with_errors);
private slots:
void ProcessSomeFiles();
@@ -67,4 +71,3 @@ signals:
};
#endif // DELETEFILES_H