diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2013-04-28 10:36:58 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2013-04-28 10:36:58 +0000 |
| commit | 83cfe6146a5fa7e0a310da94bc4e3c4f6370bd1c (patch) | |
| tree | f9c88b6f670d10605bd5095743f6e54f5dfbaa19 /src/plugins/Input/sid/decodersidfactory.cpp | |
| parent | a8ca945c11589553f6550d26c40d7d82f8f38421 (diff) | |
| download | qmmp-83cfe6146a5fa7e0a310da94bc4e3c4f6370bd1c.tar.gz qmmp-83cfe6146a5fa7e0a310da94bc4e3c4f6370bd1c.tar.bz2 qmmp-83cfe6146a5fa7e0a310da94bc4e3c4f6370bd1c.zip | |
sid plugin: added settings dialog
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@3422 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Input/sid/decodersidfactory.cpp')
| -rw-r--r-- | src/plugins/Input/sid/decodersidfactory.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/plugins/Input/sid/decodersidfactory.cpp b/src/plugins/Input/sid/decodersidfactory.cpp index 50aa92c7a..f0042032b 100644 --- a/src/plugins/Input/sid/decodersidfactory.cpp +++ b/src/plugins/Input/sid/decodersidfactory.cpp @@ -24,6 +24,7 @@ #include <sidplayfp/SidTuneInfo.h> #include "decoder_sid.h" #include "sidhelper.h" +#include "settingsdialog.h" #include "decodersidfactory.h" // DecoderSIDFactory @@ -56,7 +57,7 @@ const DecoderProperties DecoderSIDFactory::properties() const //properties.contentType = ; properties.shortName = "sid"; properties.hasAbout = true; - properties.hasSettings = false; + properties.hasSettings = true; properties.noInput = true; properties.protocols << "sid"; return properties; @@ -100,7 +101,8 @@ MetaDataModel* DecoderSIDFactory::createMetaDataModel(const QString &path, QObje void DecoderSIDFactory::showSettings(QWidget *parent) { - Q_UNUSED(parent); + SettingsDialog *d = new SettingsDialog(parent); + d->show(); } void DecoderSIDFactory::showAbout(QWidget *parent) |
