summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-10-10 13:38:19 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-10-10 13:38:19 (GMT)
commit5fcadd4e60d2e8bd8866bddef6bcefa59a18adf8 (patch)
tree198eafdec1dce1b7dc6ce21fbbd86bebbd4098cb /Swift/Controllers
parent29e4e51e21b8902c82456cc85af46fa5f5889f04 (diff)
downloadswift-contrib-5fcadd4e60d2e8bd8866bddef6bcefa59a18adf8.zip
swift-contrib-5fcadd4e60d2e8bd8866bddef6bcefa59a18adf8.tar.bz2
Move SoftwareVersionResponder constructor arguments to setter.
Diffstat (limited to 'Swift/Controllers')
-rw-r--r--Swift/Controllers/MainController.cpp3
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());