Commit f5f605f0 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix warning

parent 2a675322
Pipeline #104075 passed with stage
in 3 minutes and 44 seconds
......@@ -116,7 +116,7 @@ void KCMKontactSummary::load()
mPluginView->clear();
for (auto plugin : std::as_const(pluginMetaDatas)) {
QVariant var = plugin.value(QStringLiteral("X-KDE-KontactPluginHasSummary"));
QVariant var = plugin.value(QStringLiteral("X-KDE-KontactPluginHasSummary"), false);
if (var.isValid() && var.toBool() == true) {
auto item = new PluginItem(plugin, mPluginView);
......
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