From 5717444b38b4f45ad185bbc6ea81cdb141befb8c Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Sat, 18 Sep 2010 16:50:38 +0000 Subject: added --status and --nowplaying command line option (Closes issue 266) git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1893 90c681e8-e032-0410-971d-27865f9a5e38 --- src/qmmpui/generalhandler.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/qmmpui/generalhandler.cpp') diff --git a/src/qmmpui/generalhandler.cpp b/src/qmmpui/generalhandler.cpp index 794156e08..2a163b0c1 100644 --- a/src/qmmpui/generalhandler.cpp +++ b/src/qmmpui/generalhandler.cpp @@ -48,8 +48,6 @@ GeneralHandler::GeneralHandler(QObject *parent) m_generals.insert(factory, general); } } - m_commandLineManager = new CommandLineManager(this); - m_generals.insert(0, m_commandLineManager); } GeneralHandler::~GeneralHandler() @@ -102,12 +100,6 @@ bool GeneralHandler::visibilityControl() return false; } -void GeneralHandler::executeCommand(const QString &opt_str, const QStringList &args) -{ - if (CommandLineManager::hasOption(opt_str)) - m_commandLineManager->executeCommand(opt_str, args); -} - void GeneralHandler::addAction(QAction *action, MenuType type) { connect(action, SIGNAL(destroyed (QObject *)), SLOT(removeAction(QObject*))); -- cgit v1.2.3-13-gbd6f