diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-03-28 13:36:48 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-03-28 13:36:48 (GMT) |
commit | dae28dd45e43fc6e6ef2ec4c6c65d5d736ed86f8 (patch) | |
tree | f01fe3ff891a815b7c7db511ddbabcc67f916445 /Swift/QtUI/QtSwift.cpp | |
parent | a7d213975040a1130ac136d61a055c5b6f5d41fa (diff) | |
parent | a59af6c6daa72dd491189335cf2d255a788eb0f6 (diff) | |
download | swift-contrib-dae28dd45e43fc6e6ef2ec4c6c65d5d736ed86f8.zip swift-contrib-dae28dd45e43fc6e6ef2ec4c6c65d5d736ed86f8.tar.bz2 |
Merge commit 'origin/master'
Conflicts:
BuildTools
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 6c9dc11..1c60c12 100644 --- a/Swift/QtUI/QtSwift.cpp +++ b/Swift/QtUI/QtSwift.cpp @@ -9,6 +9,7 @@ #include "QtSystemTray.h" #include "QtSoundPlayer.h" #include "QtXMLConsoleWidgetFactory.h" +#include "ChatList/QtChatListWindowFactory.h" #include "EventViewer/QtEventWindowFactory.h" #include <boost/bind.hpp> #include <QSplitter> @@ -54,11 +55,12 @@ QtSwift::QtSwift(bool netbookMode) : autoUpdater_(NULL) { rosterWindowFactory_ = new QtMainWindowFactory(treeWidgetFactory_); eventWindowFactory_ = new QtEventWindowFactory(rosterWindowFactory_); xmlConsoleWidgetFactory_ = new QtXMLConsoleWidgetFactory(tabs_); + chatListWindowFactory_ = new QtChatListWindowFactory(rosterWindowFactory_); soundPlayer_ = new QtSoundPlayer(); if (splitter_) { splitter_->show(); } - mainController_ = new MainController(chatWindowFactory_, rosterWindowFactory_, loginWindowFactory_, treeWidgetFactory_, eventWindowFactory_, settings_, application_, systemTray_, soundPlayer_, xmlConsoleWidgetFactory_); + mainController_ = new MainController(chatWindowFactory_, rosterWindowFactory_, loginWindowFactory_, treeWidgetFactory_, eventWindowFactory_, settings_, application_, systemTray_, soundPlayer_, xmlConsoleWidgetFactory_, chatListWindowFactory_); PlatformAutoUpdaterFactory autoUpdaterFactory; if (autoUpdaterFactory.isSupported()) { @@ -82,6 +84,7 @@ QtSwift::~QtSwift() { delete tabs_; delete xmlConsoleWidgetFactory_; delete eventWindowFactory_; + delete chatListWindowFactory_; } } |