diff data/fileio/MP3FileReader.cpp @ 186:06ad01f3e553

* Add system-specific LADSPA and DSSI plugin paths (for OS/X and Windows) * Add ability to open more than one audio file at once from the command line * Add plugin input source selection (with some caveats) * Show name of file being decoded in Ogg/mp3 decode progress dialog
author Chris Cannam
date Thu, 12 Oct 2006 14:56:28 +0000
parents c03ec31005e1
children f02989f7e160
line wrap: on
line diff
--- a/data/fileio/MP3FileReader.cpp	Wed Oct 11 16:18:51 2006 +0000
+++ b/data/fileio/MP3FileReader.cpp	Thu Oct 12 14:56:28 2006 +0000
@@ -26,6 +26,7 @@
 #include <iostream>
 
 #include <QApplication>
+#include <QFileInfo>
 #include <QProgressDialog>
 
 MP3FileReader::MP3FileReader(QString path, bool showProgress, CacheMode mode) :
@@ -76,7 +77,7 @@
 
     if (showProgress) {
 	m_progress = new QProgressDialog
-	    (QObject::tr("Decoding MP3 file..."),
+	    (QObject::tr("Decoding %1...").arg(QFileInfo(path).fileName()),
 	     QObject::tr("Stop"), 0, 100);
 	m_progress->hide();
     }