From 0d80d978bf3af3345132a98a2abde4e973e1e793 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Mon, 7 Dec 2020 19:51:53 +0000 Subject: library: added settings form git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@9580 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/General/library/libraryfactory.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/plugins/General/library/libraryfactory.cpp') 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 #include #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) -- cgit v1.2.3-13-gbd6f