[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-kimageshop
Subject: =?utf-8?q?=5Bgraphics/krita=5D_libs/ui=3A_Simple-mindedly_check_whether_krita_was_installed_through_
From: Halla Rempt <null () kde ! org>
Date: 2023-08-02 9:28:05
Message-ID: 20230802092805.17A381400E27 () lerwini ! kde ! org
[Download RAW message or body]
Git commit 51c098ac0dd63b6b85f2dabbcf0bd7282de6424d by Halla Rempt.
Committed on 02/08/2023 at 11:28.
Pushed by rempt into branch 'master'.
Simple-mindedly check whether krita was installed through steam
For now, this is probably good enough: we check whether the
application path contains "steam".
CCMAIL:kimageshop@kde.org
(cherry picked from commit 7bb7b0e093cbe507058cf21ed1f4aeb3baa8f16d)
M +4 -0 libs/ui/KisApplication.cpp
https://invent.kde.org/graphics/krita/-/commit/51c098ac0dd63b6b85f2dabbcf0bd7282de6424d
diff --git a/libs/ui/KisApplication.cpp b/libs/ui/KisApplication.cpp
index 0b489608665..5395bacc6b3 100644
--- a/libs/ui/KisApplication.cpp
+++ b/libs/ui/KisApplication.cpp
@@ -816,6 +816,10 @@ bool KisApplication::isStoreApplication()
return true;
}
+ if (applicationDirPath().toLower().contains("steam")) {
+ return true;
+ }
+
#ifdef Q_OS_WIN
// This is also true for user-installed MSIX, but that's
// likely only true in institutional situations, where
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic