mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 06:06:10 -04:00
Fix Ask Password in new window if wrong in StartDialog.
And Fix LineEditClear to show placeholder test even if it has focus (Like Qt5).
This commit is contained in:
parent
b387f15226
commit
5dc25e37f7
7 changed files with 71 additions and 29 deletions
|
@ -66,7 +66,7 @@ class p3Notify: public RsNotify
|
|||
{
|
||||
public:
|
||||
|
||||
p3Notify() : noteMtx("p3Notify") { return; }
|
||||
p3Notify() : noteMtx("p3Notify"), _disableAskPassword(false) { return; }
|
||||
virtual ~p3Notify() { return; }
|
||||
|
||||
virtual void registerNotifyClient(NotifyClient *nc) ;
|
||||
|
@ -125,8 +125,10 @@ class p3Notify: public RsNotify
|
|||
bool askForPassword (const std::string& title, const std::string& /* key_details */, bool /* prev_is_bad */, std::string&, bool *cancelled /* password */ ) ;
|
||||
bool askForPluginConfirmation (const std::string& /* plugin_filename */, const std::string& /* plugin_file_hash */,bool first_time) ;
|
||||
|
||||
virtual bool cachePgpPassphrase (const std::string& /* pgp_passphrase */) ;
|
||||
virtual bool clearPgpPassphrase () ;
|
||||
virtual bool cachePgpPassphrase (const std::string& /* pgp_passphrase */) ;
|
||||
virtual bool clearPgpPassphrase () ;
|
||||
|
||||
virtual bool setDisableAskPassword (const bool /*bValue*/) ;
|
||||
|
||||
private:
|
||||
|
||||
|
@ -139,7 +141,8 @@ class p3Notify: public RsNotify
|
|||
|
||||
std::list<NotifyClient*> notifyClients ;
|
||||
|
||||
std::string cached_pgp_passphrase ;
|
||||
std::string cached_pgp_passphrase;
|
||||
bool _disableAskPassword;
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue