diff options
Diffstat (limited to 'src/plugins/CommandLineOptions/PlayListOption')
| -rw-r--r-- | src/plugins/CommandLineOptions/PlayListOption/playlistoption.cpp | 2 | ||||
| -rw-r--r-- | src/plugins/CommandLineOptions/PlayListOption/playlistoption.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/CommandLineOptions/PlayListOption/playlistoption.cpp b/src/plugins/CommandLineOptions/PlayListOption/playlistoption.cpp index 8906e7ea2..d764c6841 100644 --- a/src/plugins/CommandLineOptions/PlayListOption/playlistoption.cpp +++ b/src/plugins/CommandLineOptions/PlayListOption/playlistoption.cpp @@ -28,7 +28,7 @@ #include <qmmpui/commandlinemanager.h> #include "playlistoption.h" -PlayListOption::PlayListOption() +void PlayListOption::registerOprions() { registerOption(PL_HELP, "--pl-help", tr("Show playlist manipulation commands")); registerOption(PL_LIST, "--pl-list", tr("List all available playlists")); diff --git a/src/plugins/CommandLineOptions/PlayListOption/playlistoption.h b/src/plugins/CommandLineOptions/PlayListOption/playlistoption.h index de6d35ae4..b4181e7aa 100644 --- a/src/plugins/CommandLineOptions/PlayListOption/playlistoption.h +++ b/src/plugins/CommandLineOptions/PlayListOption/playlistoption.h @@ -36,7 +36,7 @@ Q_OBJECT Q_PLUGIN_METADATA(IID "org.qmmp.qmmpui.CommandLineHandlerInterface.1.0") Q_INTERFACES(CommandLineHandler) public: - PlayListOption(); + void registerOprions(); QString shortName() const; QString translation() const; QString executeCommand(int id, const QStringList &args); |
