diff options
author | Kevin Smith <git@kismith.co.uk> | 2011-09-21 08:12:21 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2011-09-21 08:52:40 (GMT) |
commit | 20d3385909a2f9d886e7e0781357b23474e9f8dc (patch) | |
tree | 4ca6a60e0c2d598534a0767cefa75f58dbac4afa /Swift/QtUI/QtMainWindow.cpp | |
parent | 703a1c28c3c87ac0fb365ff0683d7c64fcdd2210 (diff) | |
download | swift-contrib-20d3385909a2f9d886e7e0781357b23474e9f8dc.zip swift-contrib-20d3385909a2f9d886e7e0781357b23474e9f8dc.tar.bz2 |
Distinguish between Roster and MUC list widgets
Diffstat (limited to 'Swift/QtUI/QtMainWindow.cpp')
-rw-r--r-- | Swift/QtUI/QtMainWindow.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Swift/QtUI/QtMainWindow.cpp b/Swift/QtUI/QtMainWindow.cpp index 51aaf3e..7c84773 100644 --- a/Swift/QtUI/QtMainWindow.cpp +++ b/Swift/QtUI/QtMainWindow.cpp @@ -24,7 +24,7 @@ #include <Swift/QtUI/QtSwiftUtil.h> #include <Swift/QtUI/QtTabWidget.h> #include <Swift/QtUI/QtSettingsProvider.h> -#include <Roster/QtTreeWidget.h> +#include <Roster/QtRosterWidget.h> #include <Swift/Controllers/UIEvents/RequestJoinMUCUIEvent.h> #include <Swift/Controllers/UIEvents/RequestAddUserDialogUIEvent.h> #include <Swift/Controllers/UIEvents/RequestChatWithUserDialogUIEvent.h> @@ -62,8 +62,7 @@ QtMainWindow::QtMainWindow(QtSettingsProvider* settings, UIEventStream* uiEventS contactTabLayout->setSpacing(0); contactTabLayout->setContentsMargins(0, 0, 0, 0); - treeWidget_ = new QtTreeWidget(uiEventStream_); - treeWidget_->setEditable(true); + treeWidget_ = new QtRosterWidget(uiEventStream_); contactTabLayout->addWidget(treeWidget_); tabs_->addTab(contactsTabWidget_, tr("&Contacts")); |