diff options
author | Kevin Smith <git@kismith.co.uk> | 2011-10-29 10:59:11 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2011-10-29 10:59:11 (GMT) |
commit | 06e40dd580e43e11e519acbb2d30156c18081f79 (patch) | |
tree | 83503e4acac19c40c745c44504e3675894cb2dea /Swift/Controllers | |
parent | 7cb49cb679156151f19a556de76274c5a25e6de2 (diff) | |
download | swift-06e40dd580e43e11e519acbb2d30156c18081f79.zip swift-06e40dd580e43e11e519acbb2d30156c18081f79.tar.bz2 |
Make the --eagle-mode banner per-login, not per-run
Diffstat (limited to 'Swift/Controllers')
-rw-r--r-- | Swift/Controllers/MainController.cpp | 2 | ||||
-rw-r--r-- | Swift/Controllers/UIInterfaces/LoginWindow.h | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/Swift/Controllers/MainController.cpp b/Swift/Controllers/MainController.cpp index f4e7adc..ce347ab 100644 --- a/Swift/Controllers/MainController.cpp +++ b/Swift/Controllers/MainController.cpp @@ -155,8 +155,6 @@ MainController::MainController( } loginWindow_->selectUser(selectedLoginJID); loginWindow_->setLoginAutomatically(loginAutomatically); - } else { - loginWindow_->setRememberingAllowed(false); } diff --git a/Swift/Controllers/UIInterfaces/LoginWindow.h b/Swift/Controllers/UIInterfaces/LoginWindow.h index fcaeb42..61fcaa1 100644 --- a/Swift/Controllers/UIInterfaces/LoginWindow.h +++ b/Swift/Controllers/UIInterfaces/LoginWindow.h @@ -27,8 +27,6 @@ namespace Swift { boost::signal<void (const std::string&, const std::string&, const std::string& /* certificateFile */, bool /* remember password*/, bool /* login automatically */)> onLoginRequest; virtual void setLoginAutomatically(bool loginAutomatically) = 0; virtual void quit() = 0; - /** Disable any GUI elements that suggest saving of passwords. */ - virtual void setRememberingAllowed(bool allowed) = 0; /** Blocking request whether a cert should be permanently trusted.*/ virtual bool askUserToTrustCertificatePermanently(const std::string& message, Certificate::ref) = 0; |