Remove unused variables

Reviewers: apol

Reviewed By: apol

Subscribers: kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D16575
This commit is contained in:
Albert Astals Cid 2018-11-03 01:34:34 +01:00
parent 3e4dbde6b0
commit 9b53406f23
3 changed files with 0 additions and 4 deletions

View File

@ -414,7 +414,6 @@ CoronaPrivate::CoronaPrivate(Corona *corona)
containmentsStarting(0)
{
//TODO: make Package path configurable
KConfigGroup config(KSharedConfig::openConfig(), "General");
if (QCoreApplication::instance()) {
configName = QCoreApplication::instance()->applicationName() + QStringLiteral("-appletsrc");

View File

@ -38,11 +38,9 @@ void DataEngineConsumerPrivate::slotJobFinished(Plasma::ServiceJob *job)
{
#ifndef NDEBUG
// qCDebug(LOG_PLASMA) << "engine ready!";
#endif
QString engineName = job->parameters().value(QStringLiteral("EngineName")).toString();
QString location = job->destination();
QPair<QString, QString> pair(location, engineName);
#ifndef NDEBUG
// qCDebug(LOG_PLASMA) << "pair = " << pair;
#endif
}

View File

@ -690,7 +690,6 @@ KPluginInfo::List PluginLoader::listContainmentsOfType(const QString &type,
const QString &parentApp)
{
KConfigGroup group(KSharedConfig::openConfig(), "General");
const QStringList excluded = group.readEntry("ExcludeCategories", QStringList());
auto filter = [&type, &category, &parentApp](const KPluginMetaData &md) -> bool
{
if (!md.serviceTypes().contains(QStringLiteral("Plasma/Containment"))) {