aboutsummaryrefslogtreecommitdiff
path: root/src/qmmpui/commandlinemanager.cpp
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2010-03-04 11:56:59 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2010-03-04 11:56:59 +0000
commitdca857498e15d000b6ba27dd07380302a47d1fcc (patch)
tree3a6e837a792b73ec7ce47418050a561431f5888f /src/qmmpui/commandlinemanager.cpp
parentb65e2c52cca85895d8af0186cec2b32be4fc19b7 (diff)
downloadqmmp-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/qmmpui/commandlinemanager.cpp')
-rw-r--r--src/qmmpui/commandlinemanager.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qmmpui/commandlinemanager.cpp b/src/qmmpui/commandlinemanager.cpp
index e6b23ac4c..82c8d7861 100644
--- a/src/qmmpui/commandlinemanager.cpp
+++ b/src/qmmpui/commandlinemanager.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 *
@@ -79,14 +79,14 @@ CommandLineManager::~CommandLineManager()
{
}
-void CommandLineManager::executeCommand(const QString& opt_str)
+void CommandLineManager::executeCommand(const QString& opt_str, const QStringList &args)
{
checkOptions();
foreach(CommandLineOption *opt, *m_options)
{
if (opt->identify(opt_str))
{
- opt->executeCommand(opt_str, this);
+ opt->executeCommand(opt_str, args);
return;
}
}