aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/CommandLineOptions/IncDecVolumeOption/incdecvolumeoption.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/CommandLineOptions/IncDecVolumeOption/incdecvolumeoption.cpp')
-rw-r--r--src/plugins/CommandLineOptions/IncDecVolumeOption/incdecvolumeoption.cpp7
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;