aboutsummaryrefslogtreecommitdiff
path: root/src/qmmpui/generalhandler.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/generalhandler.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/generalhandler.cpp')
-rw-r--r--src/qmmpui/generalhandler.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qmmpui/generalhandler.cpp b/src/qmmpui/generalhandler.cpp
index 744591243..fa8659046 100644
--- a/src/qmmpui/generalhandler.cpp
+++ b/src/qmmpui/generalhandler.cpp
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2008-2009 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 *
@@ -102,10 +102,10 @@ bool GeneralHandler::visibilityControl()
return FALSE;
}
-void GeneralHandler::executeCommand(const QString &opt_str)
+void GeneralHandler::executeCommand(const QString &opt_str, const QStringList &args)
{
if (CommandLineManager::hasOption(opt_str))
- m_commandLineManager->executeCommand(opt_str);
+ m_commandLineManager->executeCommand(opt_str, args);
}
void GeneralHandler::addAction(QAction *action, MenuType type)