diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2018-12-25 20:50:08 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2018-12-25 20:50:08 +0000 |
| commit | c28061c4cf64e468dd3e230df1b96d1a72e295fd (patch) | |
| tree | 85cdef77d8851ab89e8a57ba1d5f823531a15831 /src/qmmpui/commandlinehandler.cpp | |
| parent | 164e24517d01eb95f74563cc66a691adf07ed514 (diff) | |
| download | qmmp-c28061c4cf64e468dd3e230df1b96d1a72e295fd.tar.gz qmmp-c28061c4cf64e468dd3e230df1b96d1a72e295fd.tar.bz2 qmmp-c28061c4cf64e468dd3e230df1b96d1a72e295fd.zip | |
fixed command line plugins
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8532 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui/commandlinehandler.cpp')
| -rw-r--r-- | src/qmmpui/commandlinehandler.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qmmpui/commandlinehandler.cpp b/src/qmmpui/commandlinehandler.cpp index 05dda3c73..7bf98f069 100644 --- a/src/qmmpui/commandlinehandler.cpp +++ b/src/qmmpui/commandlinehandler.cpp @@ -43,12 +43,12 @@ int CommandLineHandler::identify(const QString &name) const return -1; } -void CommandLineHandler::registerOption(int id, const QStringList &names, const QString &helpString) +void CommandLineHandler::registerOption(int id, const QString &name, const QString &helpString, const QStringList &values) { - registerOption(id, names, QStringList(), helpString); + registerOption(id, QStringList() << name, helpString, values); } -void CommandLineHandler::registerOption(int id, const QStringList &names, const QStringList &values, const QString &helpString) +void CommandLineHandler::registerOption(int id, const QStringList &names, const QString &helpString, const QStringList &values) { CommandLineOption opt; opt.names = names; |
