summaryrefslogtreecommitdiff
path: root/src/main-lib/applicationinstaller.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/main-lib/applicationinstaller.h')
-rw-r--r--src/main-lib/applicationinstaller.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main-lib/applicationinstaller.h b/src/main-lib/applicationinstaller.h
index 978f6ce1..f83ddadb 100644
--- a/src/main-lib/applicationinstaller.h
+++ b/src/main-lib/applicationinstaller.h
@@ -1,5 +1,6 @@
/****************************************************************************
**
+** Copyright (C) 2019 The Qt Company Ltd.
** Copyright (C) 2019 Luxoft Sweden AB
** Copyright (C) 2018 Pelagicore AG
** Contact: https://www.qt.io/licensing/
@@ -95,7 +96,7 @@ public:
Q_SCRIPTABLE QString installationLocationIdFromApplication(const QString &applicationId) const
{
auto app = ApplicationManager::instance()->fromId(applicationId);
- if (app && ((!app->package()->isBuiltIn() || app->package()->canBeRevertedToBuiltIn())))
+ if (app && ((!app->package()->isBuiltIn() || app->package()->builtInHasRemovableUpdate())))
return qL1S("internal-0");
return QString();
}