aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/library/libraryfactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/General/library/libraryfactory.cpp')
-rw-r--r--src/plugins/General/library/libraryfactory.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/General/library/libraryfactory.cpp b/src/plugins/General/library/libraryfactory.cpp
index 782d48681..50894cabe 100644
--- a/src/plugins/General/library/libraryfactory.cpp
+++ b/src/plugins/General/library/libraryfactory.cpp
@@ -22,6 +22,7 @@
#include <QtPlugin>
#include <qmmp/qmmp.h>
#include "library.h"
+#include "settingsdialog.h"
//#include "historysettingsdialog.h"
#include "libraryfactory.h"
@@ -31,7 +32,7 @@ GeneralProperties LibraryFactory::properties() const
properties.name = tr("Media Library Plugin");
properties.shortName = "library";
properties.hasAbout = true;
- properties.hasSettings = false;
+ properties.hasSettings = true;
properties.visibilityControl = false;
return properties;
}
@@ -43,8 +44,7 @@ QObject *LibraryFactory::create(QObject *parent)
QDialog *LibraryFactory::createConfigDialog(QWidget *parent)
{
- Q_UNUSED(parent);
- return nullptr;
+ return new SettingsDialog(parent);
}
void LibraryFactory::showAbout(QWidget *parent)