mirror of https://github.com/procxx/kepka.git
added flac mime type when sending files, version 0.8.40.dev
This commit is contained in:
parent
c786a2bf9c
commit
c553ed6775
|
@ -168,9 +168,10 @@ void LocalImageLoaderPrivate::prepareImages() {
|
||||||
bool isSong = false;
|
bool isSong = false;
|
||||||
QByteArray jpeg;
|
QByteArray jpeg;
|
||||||
if (type == ToPrepareDocument) {
|
if (type == ToPrepareDocument) {
|
||||||
if (mime == qstr("audio/mp3") || mime == qstr("audio/m4a") || mime == qstr("audio/aac") || mime == qstr("audio/ogg") ||
|
if (mime == qstr("audio/mp3") || mime == qstr("audio/m4a") || mime == qstr("audio/aac") || mime == qstr("audio/ogg") || mime == qstr("audio/flac") ||
|
||||||
filename.endsWith(qstr(".mp3"), Qt::CaseInsensitive) || filename.endsWith(qstr(".m4a"), Qt::CaseInsensitive) ||
|
filename.endsWith(qstr(".mp3"), Qt::CaseInsensitive) || filename.endsWith(qstr(".m4a"), Qt::CaseInsensitive) ||
|
||||||
filename.endsWith(qstr(".aac"), Qt::CaseInsensitive) || filename.endsWith(qstr(".ogg"), Qt::CaseInsensitive)) {
|
filename.endsWith(qstr(".aac"), Qt::CaseInsensitive) || filename.endsWith(qstr(".ogg"), Qt::CaseInsensitive) ||
|
||||||
|
filename.endsWith(qstr(".flac"), Qt::CaseInsensitive)) {
|
||||||
|
|
||||||
QImage cover;
|
QImage cover;
|
||||||
QByteArray coverBytes, coverFormat;
|
QByteArray coverBytes, coverFormat;
|
||||||
|
|
Loading…
Reference in New Issue