1
0
mirror of https://github.com/strawberrymusicplayer/strawberry synced 2025-01-22 05:38:36 +01:00

Add Q_DISABLE_COPY

This commit is contained in:
Jonas Kvinge 2021-08-25 02:56:30 +02:00
parent be3c7eef60
commit 49ccbddb17
3 changed files with 5 additions and 1 deletions

View File

@ -46,6 +46,8 @@ class TagReaderBase {
protected:
static const std::string kEmbeddedCover;
Q_DISABLE_COPY(TagReaderBase)
};
#endif // TAGREADERBASE_H

View File

@ -75,6 +75,8 @@ class TagReaderTagLib : public TagReaderBase {
private:
FileRefFactory *factory_;
Q_DISABLE_COPY(TagReaderTagLib)
};
#endif // TAGREADERTAGLIB_H

View File

@ -45,7 +45,7 @@ class TagReaderTagParser : public TagReaderBase {
QByteArray LoadEmbeddedArt(const QString &filename) const override;
bool SaveEmbeddedArt(const QString &filename, const QByteArray &data) override;
private:
Q_DISABLE_COPY(TagReaderTagParser)
};
#endif // TAGREADERTAGPARSER_H