[frameworks/kwallet] src/runtime/kwalletd: Actually set ok to true when defaultCollection succeeds

Marco Martin <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 846fb6386a0b613e31415c7f46d3a3855e5b8eba by Marco Martin, on behalf of Nicolas Fella.
Committed on 27/07/2026 at 10:14.
Pushed by nicolasfella into branch 'master'.

Actually set ok to true when defaultCollection succeeds

M  +1    -0    src/runtime/kwalletd/secretserviceclient.cpp

https://invent.kde.org/frameworks/kwallet/-/commit/846fb6386a0b613e31415c7f46d3a3855e5b8eba

diff --git a/src/runtime/kwalletd/secretserviceclient.cpp b/src/runtime/kwalletd/secretserviceclient.cpp
index e8d0d594..6340a156 100644
--- a/src/runtime/kwalletd/secretserviceclient.cpp
+++ b/src/runtime/kwalletd/secretserviceclient.cpp
@@ -481,6 +481,7 @@ QString SecretServiceClient::defaultCollection(bool *ok)
         return QStringLiteral("kdewallet");
     }
 
+    *ok = true;
     return label;
 }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.