aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Input/gme/decodergmefactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/Input/gme/decodergmefactory.cpp')
-rw-r--r--src/plugins/Input/gme/decodergmefactory.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/plugins/Input/gme/decodergmefactory.cpp b/src/plugins/Input/gme/decodergmefactory.cpp
index e2ef81cdc..f9587ac14 100644
--- a/src/plugins/Input/gme/decodergmefactory.cpp
+++ b/src/plugins/Input/gme/decodergmefactory.cpp
@@ -20,6 +20,7 @@
#include <QtGui>
#include <QRegExp>
+#include "settingsdialog.h"
#include "gmehelper.h"
#include "decoder_gme.h"
#include "decodergmefactory.h"
@@ -52,7 +53,7 @@ const DecoderProperties DecoderGmeFactory::properties() const
//properties.contentType = ;
properties.shortName = "gme";
properties.hasAbout = true;
- properties.hasSettings = false;
+ properties.hasSettings = true;
properties.noInput = true;
properties.protocols << "gme";
return properties;
@@ -106,7 +107,8 @@ MetaDataModel* DecoderGmeFactory::createMetaDataModel(const QString &path, QObje
void DecoderGmeFactory::showSettings(QWidget *parent)
{
- Q_UNUSED(parent);
+ SettingsDialog *d = new SettingsDialog(parent);
+ d->show();
}
void DecoderGmeFactory::showAbout(QWidget *parent)