Verified Commit 358e4e40 authored by Fushan Wen's avatar Fushan Wen 💬
Browse files

kcms/landingpage: do not include KUserFeedback if it's not found

parent 642ea5a8
Pipeline #203342 passed with stage
in 5 minutes and 18 seconds
......@@ -12,7 +12,10 @@
#include <KPackage/Package>
#include <KQuickAddons/ManagedConfigModule>
#if HAVE_KUSERFEEDBACK
#include <KUserFeedback/Provider>
#endif
#include <QJsonArray>
#include <QJsonValue>
......@@ -117,8 +120,8 @@ private:
MostUsedModel *m_mostUsedModel = nullptr;
QHash<KUserFeedback::Provider::TelemetryMode, QHash<QString, QJsonArray>> m_uses;
#if HAVE_KUSERFEEDBACK
QHash<KUserFeedback::Provider::TelemetryMode, QHash<QString, QJsonArray>> m_uses;
QJsonArray m_feedbackSources;
#endif
bool m_lnfDirty = false;
......
Supports Markdown
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