aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Input
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2013-04-27 08:09:20 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2013-04-27 08:09:20 +0000
commit90645d807e875c4f72eb118fc04910070efb36ef (patch)
tree500a8e7e8ccec4d0436c8e4a48d251a24e9d9542 /src/plugins/Input
parentc80e2e62983e5eca3499d8d837c093a0c60a39e5 (diff)
downloadqmmp-90645d807e875c4f72eb118fc04910070efb36ef.tar.gz
qmmp-90645d807e875c4f72eb118fc04910070efb36ef.tar.bz2
qmmp-90645d807e875c4f72eb118fc04910070efb36ef.zip
sid plugin: added about dialog
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@3410 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Input')
-rw-r--r--src/plugins/Input/sid/decodersidfactory.cpp15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/plugins/Input/sid/decodersidfactory.cpp b/src/plugins/Input/sid/decodersidfactory.cpp
index 8971c9c2d..dbe0adb14 100644
--- a/src/plugins/Input/sid/decodersidfactory.cpp
+++ b/src/plugins/Input/sid/decodersidfactory.cpp
@@ -47,16 +47,17 @@ const DecoderProperties DecoderSIDFactory::properties() const
properties.name = tr("SID Plugin");
properties.filters << "*.sid";
properties.description = tr("SID Files");
- //properties.contentType = ;*/
+ //properties.contentType = ;
properties.shortName = "sid";
- /*properties.hasAbout = true;
+ properties.hasAbout = true;
properties.hasSettings = false;
- properties.noInput = true;*/
+ properties.noInput = false;
return properties;
}
Decoder *DecoderSIDFactory::create(const QString &path, QIODevice *input)
{
+ Q_UNUSED(path);
return new DecoderSID(input);
}
@@ -81,10 +82,10 @@ void DecoderSIDFactory::showSettings(QWidget *parent)
void DecoderSIDFactory::showAbout(QWidget *parent)
{
- /*-QMessageBox::about (parent, tr("About GME Audio Plugin"),
- tr("Qmmp GME Audio Plugin")+"\n"+
- tr("This plugin uses Game_Music_Emu library to play game music files")+"\n"+
- tr("Written by: Ilya Kotov <forkotov02@hotmail.ru>"));*/
+ QMessageBox::about (parent, tr("About SID Audio Plugin"),
+ tr("Qmmp SID Audio Plugin")+"\n"+
+ tr("This plugin plays Commodore 64 music files using libsidplayfp library")+"\n"+
+ tr("Written by: Ilya Kotov <forkotov02@hotmail.ru>"));
}
QTranslator *DecoderSIDFactory::createTranslator(QObject *parent)