aboutsummaryrefslogtreecommitdiff
path: root/src/qmmpui/generalhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qmmpui/generalhandler.cpp')
-rw-r--r--src/qmmpui/generalhandler.cpp8
1 files changed, 0 insertions, 8 deletions
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*)));