aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/GpgCoreInit.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2025-02-16 12:36:41 +0000
committersaturneric <[email protected]>2025-02-16 12:36:41 +0000
commit8dfe4599860656b90fe8fb7f855f25233cc25912 (patch)
treef40584a9ac9b00e4523d6997714b791d0d91604a /src/core/GpgCoreInit.cpp
parentchore: update appstream info (diff)
downloadGpgFrontend-8dfe4599860656b90fe8fb7f855f25233cc25912.tar.gz
GpgFrontend-8dfe4599860656b90fe8fb7f855f25233cc25912.zip
fix: do not check commit hash in flatpak container
Diffstat (limited to 'src/core/GpgCoreInit.cpp')
-rw-r--r--src/core/GpgCoreInit.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/GpgCoreInit.cpp b/src/core/GpgCoreInit.cpp
index e12c71f1..a5f86207 100644
--- a/src/core/GpgCoreInit.cpp
+++ b/src/core/GpgCoreInit.cpp
@@ -499,8 +499,7 @@ auto InitGpgFrontendCore(CoreInitArgs args) -> int {
auto use_pinentry_as_password_input_dialog =
settings
- .value("gnupg/use_pinentry_as_password_input_dialog",
- QString::fromLocal8Bit(qgetenv("container")) != "flatpak")
+ .value("gnupg/use_pinentry_as_password_input_dialog", !IsFlatpakENV())
.toBool();
// try to restart all components