Song: Add rejected extensions
This commit is contained in:
parent
b914d9aaba
commit
74f0f885b9
|
@ -235,6 +235,18 @@ const QStringList Song::kAcceptedExtensions = QStringList() << QStringLiteral("w
|
|||
<< QStringLiteral("spc")
|
||||
<< QStringLiteral("vgm");
|
||||
|
||||
const QStringList Song::kRejectedExtensions = QStringList() << QStringLiteral("tmp")
|
||||
<< QStringLiteral("tar")
|
||||
<< QStringLiteral("gz")
|
||||
<< QStringLiteral("bz2")
|
||||
<< QStringLiteral("xz")
|
||||
<< QStringLiteral("tbz")
|
||||
<< QStringLiteral("tgz")
|
||||
<< QStringLiteral("z")
|
||||
<< QStringLiteral("zip")
|
||||
<< QStringLiteral("rar")
|
||||
<< QStringLiteral("wvc");
|
||||
|
||||
struct Song::Private : public QSharedData {
|
||||
|
||||
explicit Private(Source source = Source::Unknown);
|
||||
|
|
|
@ -138,6 +138,7 @@ class Song {
|
|||
static const QStringList kArticles;
|
||||
|
||||
static const QStringList kAcceptedExtensions;
|
||||
static const QStringList kRejectedExtensions;
|
||||
|
||||
Song(const Source source = Source::Unknown);
|
||||
Song(const Song &other);
|
||||
|
|
Loading…
Reference in New Issue