summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--daemon/appinfo.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/daemon/appinfo.cpp b/daemon/appinfo.cpp
index 7dcf49d..7c9a876 100644
--- a/daemon/appinfo.cpp
+++ b/daemon/appinfo.cpp
@@ -192,7 +192,8 @@ AppInfo AppInfo::fromPath(const QString &path)
{
AppInfo info(Bundle::fromPath(path));
- if (!info.isValid()) {
+ if (!static_cast<Bundle>(info).isValid()) {
+ qCWarning(l) << "bundle" << path << "is not valid";
return AppInfo();
}