From 292ef251f2faae6b683c95d21b8b12d8f09cebee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A9ven=20Car?= Date: Sat, 14 Aug 2021 12:26:04 +0200 Subject: [PATCH] Kicker RecentUsageModel: add a warning --- applets/kicker/plugin/recentusagemodel.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/applets/kicker/plugin/recentusagemodel.cpp b/applets/kicker/plugin/recentusagemodel.cpp index 4b51a224d..eb1ce5646 100644 --- a/applets/kicker/plugin/recentusagemodel.cpp +++ b/applets/kicker/plugin/recentusagemodel.cpp @@ -8,6 +8,7 @@ #include "actionlist.h" #include "appentry.h" #include "appsmodel.h" +#include "debug.h" #include "kastatsfavoritesmodel.h" #include @@ -381,6 +382,8 @@ bool RecentUsageModel::trigger(int row, const QString &actionId, const QVariant if (!service) { // no service found to handle the mimetype return false; + } else { + qCWarning(KICKER_DEBUG) << "Preventing the file to open with " << service->desktopEntryName() << "no alternative found"; } } }