diff options
Diffstat (limited to 'src/core/GpgCoreInit.cpp')
-rw-r--r-- | src/core/GpgCoreInit.cpp | 3 |
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 |