From 83cfe6146a5fa7e0a310da94bc4e3c4f6370bd1c Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Sun, 28 Apr 2013 10:36:58 +0000 Subject: 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 --- src/plugins/Input/sid/decodersidfactory.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/plugins/Input/sid/decodersidfactory.cpp') 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 #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) -- cgit v1.2.3-13-gbd6f