diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2018-12-01 21:38:21 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2018-12-01 21:38:21 +0000 |
| commit | 366eb153e82063a1157695e6c0873a7a64bee3af (patch) | |
| tree | 5b672b76cdace7182175696a17538d02d79cba7e /src/plugins/General/rdetect/rdetectfactory.cpp | |
| parent | 7bdd84eec98430e71a4a73fe46561a20d1dc75e3 (diff) | |
| download | qmmp-366eb153e82063a1157695e6c0873a7a64bee3af.tar.gz qmmp-366eb153e82063a1157695e6c0873a7a64bee3af.tar.bz2 qmmp-366eb153e82063a1157695e6c0873a7a64bee3af.zip | |
rdetect: added settings dialog
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8471 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/General/rdetect/rdetectfactory.cpp')
| -rw-r--r-- | src/plugins/General/rdetect/rdetectfactory.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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 <QMessageBox> #include <qmmp/qmmp.h> +#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) |
