diff options
author | Oleksii Lysenko <lysenkoalexmail@gmail.com> | 2021-06-05 20:43:08 +0300 |
---|---|---|
committer | Hannah von Reth <vonreth@kde.org> | 2021-06-07 17:54:45 +0300 |
commit | ececf7b3a4c27cd10026442b4f31d2186478b609 (patch) | |
tree | 6ec9588f56545548c71ed03c51169d5217067956 | |
parent | 7da59a7cd5e6c366ce2fe3809259aab168f5f24a (diff) |
Use qEnvironmentVariableIsEmpty instead of qgetenv().isEmpty()
-rw-r--r-- | src/common/checksums.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/checksums.cpp b/src/common/checksums.cpp index a7308c674..565d93f78 100644 --- a/src/common/checksums.cpp +++ b/src/common/checksums.cpp @@ -204,7 +204,7 @@ bool uploadChecksumEnabled() static bool checksumComputationEnabled() { - static bool enabled = qgetenv("OWNCLOUD_DISABLE_CHECKSUM_COMPUTATIONS").isEmpty(); + static bool enabled = qEnvironmentVariableIsEmpty("OWNCLOUD_DISABLE_CHECKSUM_COMPUTATIONS"); return enabled; } |