From b77146a529d27e713f89abdb6b526b8048d8943a Mon Sep 17 00:00:00 2001 From: "Tim E. Real" Date: Fri, 7 Sep 2012 01:54:16 +0000 Subject: Feature request 3565102: FLAC audio file import. --- muse2/muse/arranger/pcanvas.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'muse2/muse/arranger/pcanvas.cpp') diff --git a/muse2/muse/arranger/pcanvas.cpp b/muse2/muse/arranger/pcanvas.cpp index 20c06660..1afea012 100644 --- a/muse2/muse/arranger/pcanvas.cpp +++ b/muse2/muse/arranger/pcanvas.cpp @@ -3208,6 +3208,7 @@ void PartCanvas::viewDropEvent(QDropEvent* event) if (text.endsWith(".wav",Qt::CaseInsensitive) || text.endsWith(".ogg",Qt::CaseInsensitive) || + text.endsWith(".flac",Qt::CaseInsensitive) || text.endsWith(".mpt", Qt::CaseInsensitive) ) { @@ -3224,7 +3225,8 @@ void PartCanvas::viewDropEvent(QDropEvent* event) } if (track->type() == MusECore::Track::WAVE && (text.endsWith(".wav", Qt::CaseInsensitive) || - (text.endsWith(".ogg", Qt::CaseInsensitive)))) + text.endsWith(".ogg", Qt::CaseInsensitive) || + (text.endsWith(".flac", Qt::CaseInsensitive)) )) { unsigned tick = x; MusEGlobal::muse->importWaveToTrack(text, tick, track); -- cgit v1.2.3