From 366eb153e82063a1157695e6c0873a7a64bee3af Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Sat, 1 Dec 2018 21:38:21 +0000 Subject: rdetect: added settings dialog git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8471 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/General/rdetect/rdetectfactory.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/plugins/General/rdetect/rdetectfactory.cpp') diff --git a/src/plugins/General/rdetect/rdetectfactory.cpp b/src/plugins/General/rdetect/rdetectfactory.cpp index 26e912cd7..f329d8ace 100644 --- a/src/plugins/General/rdetect/rdetectfactory.cpp +++ b/src/plugins/General/rdetect/rdetectfactory.cpp @@ -20,6 +20,7 @@ #include #include +#include "settingsdialog.h" #include "removablehelper.h" #include "rdetectfactory.h" @@ -29,7 +30,7 @@ GeneralProperties RDetectFactory::properties() const properties.name = tr("Volume Detection Plugin"); properties.shortName = "rdetect"; properties.hasAbout = true; - properties.hasSettings = false; + properties.hasSettings = true; properties.visibilityControl = false; return properties; } @@ -41,8 +42,7 @@ QObject *RDetectFactory::create(QObject *parent) QDialog *RDetectFactory::createConfigDialog(QWidget *parent) { - Q_UNUSED(parent); - return nullptr; + return new SettingsDialog(parent); } void RDetectFactory::showAbout(QWidget *parent) -- cgit v1.2.3-13-gbd6f