diff options
author | Kevin Smith <git@kismith.co.uk> | 2010-10-04 16:08:10 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2010-10-04 16:08:10 (GMT) |
commit | 8ca471e7304e813fa55ebf512a8f30f146fe6b41 (patch) | |
tree | e962968f1f7afc0bc6c73a776e3ee75e8c7deaba /Swift/QtUI/QtMainWindow.cpp | |
parent | 026e8a67d871d99f4f0c0bddb6d16d12521f1e1c (diff) | |
download | swift-contrib-8ca471e7304e813fa55ebf512a8f30f146fe6b41.zip swift-contrib-8ca471e7304e813fa55ebf512a8f30f146fe6b41.tar.bz2 |
Assign contacts to groups.
Another patch will follow shortly to stop them appearing offline
after a roster change like this.
Resolves: #272
Release-Notes: It's now possible to assign your contacts to groups.
Diffstat (limited to 'Swift/QtUI/QtMainWindow.cpp')
-rw-r--r-- | Swift/QtUI/QtMainWindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/QtUI/QtMainWindow.cpp b/Swift/QtUI/QtMainWindow.cpp index 6f7783f..f669e95 100644 --- a/Swift/QtUI/QtMainWindow.cpp +++ b/Swift/QtUI/QtMainWindow.cpp @@ -53,7 +53,7 @@ QtMainWindow::QtMainWindow(UIEventStream* uiEventStream) : QWidget() { contactTabLayout->setContentsMargins(0, 0, 0, 0); treeWidget_ = new QtTreeWidget(uiEventStream_); - contextMenu_ = new QtRosterContextMenu(uiEventStream_); + contextMenu_ = new QtRosterContextMenu(uiEventStream_, treeWidget_); treeWidget_->setContextMenu(contextMenu_); treeWidget_->setVerticalScrollMode(QAbstractItemView::ScrollPerPixel); contactTabLayout->addWidget(treeWidget_); |