diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2010-03-04 11:56:59 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2010-03-04 11:56:59 +0000 |
| commit | dca857498e15d000b6ba27dd07380302a47d1fcc (patch) | |
| tree | 3a6e837a792b73ec7ce47418050a561431f5888f /src/plugins/CommandLineOptions/IncDecVolumeOption/incdecvolumeoption.cpp | |
| parent | b65e2c52cca85895d8af0186cec2b32be4fc19b7 (diff) | |
| download | qmmp-dca857498e15d000b6ba27dd07380302a47d1fcc.tar.gz qmmp-dca857498e15d000b6ba27dd07380302a47d1fcc.tar.bz2 qmmp-dca857498e15d000b6ba27dd07380302a47d1fcc.zip | |
improved command line support
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1597 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/CommandLineOptions/IncDecVolumeOption/incdecvolumeoption.cpp')
| -rw-r--r-- | src/plugins/CommandLineOptions/IncDecVolumeOption/incdecvolumeoption.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/plugins/CommandLineOptions/IncDecVolumeOption/incdecvolumeoption.cpp b/src/plugins/CommandLineOptions/IncDecVolumeOption/incdecvolumeoption.cpp index 0fd9dcd4d..f113c4919 100644 --- a/src/plugins/CommandLineOptions/IncDecVolumeOption/incdecvolumeoption.cpp +++ b/src/plugins/CommandLineOptions/IncDecVolumeOption/incdecvolumeoption.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2008 by Ilya Kotov * + * Copyright (C) 2008-2010 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -46,10 +46,9 @@ const QString IncDecVolumeCommandLineOption::helpString() const ); } - -void IncDecVolumeCommandLineOption::executeCommand(const QString& opt_str, CommandLineManager* clm) +void IncDecVolumeCommandLineOption::executeCommand(const QString& opt_str, const QStringList &args) { - Q_UNUSED(clm); + Q_UNUSED(args); SoundCore *core = SoundCore::instance(); int volume = qMax(core->leftVolume(), core->rightVolume()); int balance = 0; |
