aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/rdetect/rdetectfactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/General/rdetect/rdetectfactory.cpp')
-rw-r--r--src/plugins/General/rdetect/rdetectfactory.cpp6
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)