diff options
author | Kevin Smith <git@kismith.co.uk> | 2009-09-15 21:33:52 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2009-09-15 21:33:52 (GMT) |
commit | 416e20360efab8b12bfaa223c287b6d49dc2a3b8 (patch) | |
tree | dd6aaf35b2310bb4124d432051709ac10075f655 /Swift/Controllers/MainController.h | |
parent | ed5963e48eeb141c3eed51d6c4729be7e61bfa19 (diff) | |
download | swift-contrib-416e20360efab8b12bfaa223c287b6d49dc2a3b8.zip swift-contrib-416e20360efab8b12bfaa223c287b6d49dc2a3b8.tar.bz2 |
Collapse an enable and disable method into setEnabled(bool).
Diffstat (limited to 'Swift/Controllers/MainController.h')
-rw-r--r-- | Swift/Controllers/MainController.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Swift/Controllers/MainController.h b/Swift/Controllers/MainController.h index 3fbe9b4..a52ebba 100644 --- a/Swift/Controllers/MainController.h +++ b/Swift/Controllers/MainController.h @@ -74,8 +74,7 @@ namespace Swift { private: void performLoginFromCachedCredentials(); - void enableManagers(); - void disableManagers(); + void setManagersEnabled(bool enabled); Client* client_; ChatWindowFactory* chatWindowFactory_; MainWindowFactory* mainWindowFactory_; |