From bb3d30d8bf39075b19e72c7dcf871cd17f0c2581 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Fri, 29 Dec 2017 20:41:43 +0000 Subject: mpeg: fixed about dialog git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@7810 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/Input/mpeg/decodermpegfactory.cpp | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'src/plugins/Input/mpeg/decodermpegfactory.cpp') diff --git a/src/plugins/Input/mpeg/decodermpegfactory.cpp b/src/plugins/Input/mpeg/decodermpegfactory.cpp index 5b08a94df..2281c018d 100644 --- a/src/plugins/Input/mpeg/decodermpegfactory.cpp +++ b/src/plugins/Input/mpeg/decodermpegfactory.cpp @@ -292,11 +292,20 @@ void DecoderMPEGFactory::showSettings(QWidget *parent) void DecoderMPEGFactory::showAbout(QWidget *parent) { QMessageBox::about (parent, tr("About MPEG Audio Plugin"), - tr("Qmmp MPEG Audio Plugin")+"\n"+ - tr("Compiled against libmad version:")+" "+ - QString("%1.%2.%3%4").arg(MAD_VERSION_MAJOR) + tr("MPEG 1.0/2.0/2.5 layer 1/2/3 audio decoder")+"\n"+ + tr("Compiled against:") + "\n" + +#ifdef WITH_MAD + QString("libmad-%1.%2.%3%4") + .arg(MAD_VERSION_MAJOR) .arg(MAD_VERSION_MINOR) - .arg(MAD_VERSION_PATCH).arg(MAD_VERSION_EXTRA)+"\n"+ + .arg(MAD_VERSION_PATCH) + .arg(MAD_VERSION_EXTRA) + "\n" + +#endif +#ifdef WITH_MAD + tr("mpg123, API version: %1") + .arg(MPG123_API_VERSION) + "\n" + +#endif + tr("Written by: Ilya Kotov ")+"\n"+ tr("Source code based on mq3 and madplay projects") ); -- cgit v1.2.3-13-gbd6f