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:
parent
3e4dbde6b0
commit
9b53406f23
@ -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");
|
||||
|
@ -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
|
||||
}
|
||||
|
@ -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"))) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user