diff options
author | Kevin Smith <git@kismith.co.uk> | 2009-06-28 09:41:38 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2009-06-28 09:41:38 (GMT) |
commit | 1231acac77f2811a94f9bc83e38abb8ed85468b3 (patch) | |
tree | c5c6e99544750d13ccc41717f0f6a28694028582 /Swift/QtUI/QtSwift.cpp | |
parent | e2d9f9e47056a41d5e5a67ea3130ccdd860a06ed (diff) | |
download | swift-1231acac77f2811a94f9bc83e38abb8ed85468b3.zip swift-1231acac77f2811a94f9bc83e38abb8ed85468b3.tar.bz2 |
Moving resources into Swift/ and starting on Sound.
Diffstat (limited to 'Swift/QtUI/QtSwift.cpp')
-rw-r--r-- | Swift/QtUI/QtSwift.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Swift/QtUI/QtSwift.cpp b/Swift/QtUI/QtSwift.cpp index caa3624..e1fac9c 100644 --- a/Swift/QtUI/QtSwift.cpp +++ b/Swift/QtUI/QtSwift.cpp @@ -5,6 +5,7 @@ #include "QtMainWindowFactory.h" #include "QtTreeWidgetFactory.h" #include "QtSystemTray.h" +#include "QtSoundPlayer.h" #include <boost/bind.hpp> #include <QSplitter> @@ -30,6 +31,7 @@ QtSwift::QtSwift(bool netbookMode) { rosterWindowFactory_ = new QtMainWindowFactory(treeWidgetFactory_); chatWindowFactory_ = new QtChatWindowFactory(treeWidgetFactory_, splitter_); systemTray_ = new QtSystemTray(); + soundPlayer_ = new QtSoundPlayer(); QCoreApplication::setApplicationName("Swift"); QCoreApplication::setOrganizationName("Swift"); QCoreApplication::setOrganizationDomain("swift.im"); @@ -38,7 +40,7 @@ QtSwift::QtSwift(bool netbookMode) { if (splitter_) { splitter_->show(); } - mainController_ = new MainController(chatWindowFactory_, rosterWindowFactory_, loginWindowFactory_, treeWidgetFactory_, settings_, application_, systemTray_); + mainController_ = new MainController(chatWindowFactory_, rosterWindowFactory_, loginWindowFactory_, treeWidgetFactory_, settings_, application_, systemTray_, soundPlayer_); } QtSwift::~QtSwift() { @@ -51,6 +53,7 @@ QtSwift::~QtSwift() { delete application_; delete systemTray_; delete splitter_; + delete soundPlayer_; } } |