From f7f90a6111671cf1a49017fa1ae73c1fbdd85828 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 10 Feb 2020 18:27:38 +0100 Subject: [PATCH] Mention that wxSecretStore ctor can block At least under Unix it can show a dialog asking to create a new key ring. --- interface/wx/secretstore.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/interface/wx/secretstore.h b/interface/wx/secretstore.h index 0af7958bb4..2dbc630c77 100644 --- a/interface/wx/secretstore.h +++ b/interface/wx/secretstore.h @@ -203,6 +203,9 @@ public: Returns the default secrets collection to use. Call IsOk() on the returned object to check if this method succeeded. + + Note that this method may show a dialog to the user under some + platforms, so it can take an arbitrarily long time to return. */ static wxSecretStore GetDefault();