From 74ec7eeee3de7e5b1a7f07206da65b604356f9be Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Mon, 4 Nov 2019 13:25:05 +0000 Subject: 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 --- src/plugins/General/lyrics/lyricsfactory.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/plugins/General/lyrics/lyricsfactory.cpp') 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 +#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) -- cgit v1.2.3-13-gbd6f