diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2020-12-07 19:51:53 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2020-12-07 19:51:53 +0000 |
| commit | 0d80d978bf3af3345132a98a2abde4e973e1e793 (patch) | |
| tree | 56fe11dad1d26e36b1d9b62a19a8daf61fb826f4 /src/plugins/General/library/libraryfactory.cpp | |
| parent | 65961a1623e8eb9a264574ad2f4208b1e46c5651 (diff) | |
| download | qmmp-0d80d978bf3af3345132a98a2abde4e973e1e793.tar.gz qmmp-0d80d978bf3af3345132a98a2abde4e973e1e793.tar.bz2 qmmp-0d80d978bf3af3345132a98a2abde4e973e1e793.zip | |
library: added settings form
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@9580 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/General/library/libraryfactory.cpp')
| -rw-r--r-- | src/plugins/General/library/libraryfactory.cpp | 6 |
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) |
