menue.cpp: don't integrate hidden plugins

Origin commit data
------------------
Commit: ee9d08a3ee
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-09-30 (Tue, 30 Sep 2014)

Origin message was:
------------------
- menue.cpp: don't integrate hidden plugins
This commit is contained in:
vanhofen
2014-09-30 10:39:17 +02:00
committed by [CST] Focus
parent c4dd7f8a45
commit 2921437216

View File

@@ -964,7 +964,7 @@ void CMenuWidget::integratePlugins(void *pluginsExec, CPlugins::i_type_t integra
unsigned int number_of_plugins = (unsigned int) g_PluginList->getNumberOfPlugins(); unsigned int number_of_plugins = (unsigned int) g_PluginList->getNumberOfPlugins();
for (unsigned int count = 0; count < number_of_plugins; count++) for (unsigned int count = 0; count < number_of_plugins; count++)
{ {
if (g_PluginList->getIntegration(count) == integration) if ((g_PluginList->getIntegration(count) == integration) && !g_PluginList->isHidden(count))
{ {
if (!separatorline) if (!separatorline)
{ {