diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-10-10 13:38:19 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-10-10 13:38:19 (GMT) |
commit | 5fcadd4e60d2e8bd8866bddef6bcefa59a18adf8 (patch) | |
tree | 198eafdec1dce1b7dc6ce21fbbd86bebbd4098cb /Swift | |
parent | 29e4e51e21b8902c82456cc85af46fa5f5889f04 (diff) | |
download | swift-contrib-5fcadd4e60d2e8bd8866bddef6bcefa59a18adf8.zip swift-contrib-5fcadd4e60d2e8bd8866bddef6bcefa59a18adf8.tar.bz2 |
Move SoftwareVersionResponder constructor arguments to setter.
Diffstat (limited to 'Swift')
-rw-r--r-- | Swift/Controllers/MainController.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Swift/Controllers/MainController.cpp b/Swift/Controllers/MainController.cpp index 48cceca..53b9ab0 100644 --- a/Swift/Controllers/MainController.cpp +++ b/Swift/Controllers/MainController.cpp @@ -293,7 +293,8 @@ void MainController::handleConnected() { eventWindowController_ = new EventWindowController(eventController_, eventWindowFactory_); - clientVersionResponder_ = new SoftwareVersionResponder(CLIENT_NAME, buildVersion, client_->getIQRouter()); + clientVersionResponder_ = new SoftwareVersionResponder(client_->getIQRouter()); + clientVersionResponder_->setVersion(CLIENT_NAME, buildVersion); clientVersionResponder_->start(); loginWindow_->morphInto(rosterController_->getWindow()); |