aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/lyrics/lyricsfactory.cpp
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2019-11-04 13:25:05 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2019-11-04 13:25:05 +0000
commit74ec7eeee3de7e5b1a7f07206da65b604356f9be (patch)
tree13a529acdc009d84bf8edb9621f574f6553b5365 /src/plugins/General/lyrics/lyricsfactory.cpp
parenta52f165675d244a4e01c583ec44fd40a1cc127d1 (diff)
downloadqmmp-74ec7eeee3de7e5b1a7f07206da65b604356f9be.tar.gz
qmmp-74ec7eeee3de7e5b1a7f07206da65b604356f9be.tar.bz2
qmmp-74ec7eeee3de7e5b1a7f07206da65b604356f9be.zip
lyrics: added settings dialog, fixed remaining issues
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@9093 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/General/lyrics/lyricsfactory.cpp')
-rw-r--r--src/plugins/General/lyrics/lyricsfactory.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/plugins/General/lyrics/lyricsfactory.cpp b/src/plugins/General/lyrics/lyricsfactory.cpp
index aef4322f9..be8b2fee5 100644
--- a/src/plugins/General/lyrics/lyricsfactory.cpp
+++ b/src/plugins/General/lyrics/lyricsfactory.cpp
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2009 by Ilya Kotov *
+ * Copyright (C) 2009-2019 by Ilya Kotov *
* forkotov02@ya.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -18,8 +18,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
-
#include <QMessageBox>
+#include "settingsdialog.h"
#include "lyrics.h"
#include "lyricsfactory.h"
@@ -29,7 +29,7 @@ GeneralProperties LyricsFactory::properties() const
properties.name = tr("Lyrics Plugin");
properties.shortName = "lyrics";
properties.hasAbout = true;
- properties.hasSettings = false;
+ properties.hasSettings = true;
properties.visibilityControl = false;
return properties;
}
@@ -41,8 +41,7 @@ QObject *LyricsFactory::create(QObject *parent)
QDialog *LyricsFactory::createConfigDialog(QWidget *parent)
{
- Q_UNUSED(parent);
- return nullptr;
+ return new SettingsDialog(parent);
}
void LyricsFactory::showAbout(QWidget *parent)