From 2f376a7ebcfc4103b50c523eff7655f619c77353 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Sun, 5 Mar 2017 17:40:01 +0000 Subject: changed command line api git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@7069 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/CommandLineOptions/PlayListOption/playlistoption.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/plugins/CommandLineOptions/PlayListOption/playlistoption.cpp') diff --git a/src/plugins/CommandLineOptions/PlayListOption/playlistoption.cpp b/src/plugins/CommandLineOptions/PlayListOption/playlistoption.cpp index 185521b3d..ff94bbcef 100644 --- a/src/plugins/CommandLineOptions/PlayListOption/playlistoption.cpp +++ b/src/plugins/CommandLineOptions/PlayListOption/playlistoption.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2011-2016 by Ilya Kotov * + * Copyright (C) 2011-2017 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -40,11 +40,10 @@ bool PlayListOption::identify(const QString & str) const str == QString("--pl-state"); } -const QString PlayListOption::helpString() const +const QStringList PlayListOption::helpString() const { - return QString( - "--pl-help " + tr("Show playlist manipulation commands")+"\n" - ); + return QStringList() + << QString("--pl-help") + "||" + tr("Show playlist manipulation commands"); } QString PlayListOption::executeCommand(const QString& opt_str, const QStringList &args) -- cgit v1.2.3-13-gbd6f