Commit e423e923 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Show KNS issues as passive notifications

Hopefully will make it simpler to detect issues
parent b082360c
......@@ -119,6 +119,7 @@ KNSBackend::KNSBackend(QObject* parent, const QString& iconName, const QString &
Q_EMIT availableForQueries();
this->setFetching(false);
qWarning() << "kns error" << objectName() << error;
passiveMessage(i18n("%1: %2", name(), error));
});
connect(m_engine, &KNSCore::Engine::signalEntriesLoaded, this, &KNSBackend::receivedEntries, Qt::QueuedConnection);
connect(m_engine, &KNSCore::Engine::signalEntryChanged, this, &KNSBackend::statusChanged);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment