From fcd1a7ee86ca4e1471176853b28fb66762c124f7 Mon Sep 17 00:00:00 2001 From: Johannes Lorenz Date: Thu, 27 Dec 2018 22:15:56 +0100 Subject: [PATCH] Fix or remove wrong or useless debug printfs --- src/core/Plugin.cpp | 1 - src/core/PluginFactory.cpp | 7 ++----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/core/Plugin.cpp b/src/core/Plugin.cpp index e7f80b5ab..7fcbd9795 100644 --- a/src/core/Plugin.cpp +++ b/src/core/Plugin.cpp @@ -220,7 +220,6 @@ Plugin * Plugin::instantiate(const QString& pluginName, Model * parent, } return new DummyPlugin(); } - qDebug() << "Using PluginInfo for " << pluginName; Plugin* inst; InstantiationHook instantiationHook; diff --git a/src/core/PluginFactory.cpp b/src/core/PluginFactory.cpp index a25dca54a..ec390ae6e 100644 --- a/src/core/PluginFactory.cpp +++ b/src/core/PluginFactory.cpp @@ -182,7 +182,7 @@ void PluginFactory::discoverPlugins() } else { - qDebug() << "Ignoring" << file << "(no lmms_plugin_main())"; + //qDebug() << "Ignoring" << file.absoluteFilePath() << "(no lmms_plugin_main())"; } if(pluginDescriptor) @@ -193,9 +193,6 @@ void PluginFactory::discoverPlugins() info.descriptor = pluginDescriptor; pluginInfos << info; - qDebug() << "Add" << info.file << "with type" - << info.descriptor->type; - auto addSupportedFileTypes = [this](const char* supportedFileTypes, const PluginInfo& info, @@ -204,7 +201,7 @@ void PluginFactory::discoverPlugins() if(supportedFileTypes) for (const QString& ext : QString(supportedFileTypes).split(',')) { - qDebug() << "Plugin " << info.name() << "supports" << ext; + //qDebug() << "Plugin " << info.name() << "supports" << ext; PluginInfoAndKey infoAndKey; infoAndKey.info = info; infoAndKey.key = key