Skip to content
This repository has been archived by the owner on Feb 12, 2019. It is now read-only.

Commit

Permalink
Proper bundle validity check
Browse files Browse the repository at this point in the history
  • Loading branch information
smokku committed Apr 14, 2015
1 parent b93a1fe commit 7cdadf0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion daemon/appinfo.cpp
Expand Up @@ -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();
}

Expand Down

0 comments on commit 7cdadf0

Please sign in to comment.