diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-10-24 17:57:02 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-10-24 17:57:02 (GMT) |
commit | aadcb75bca9be81755de286efd27335947bb0c85 (patch) | |
tree | 6bad5d1cf78939894252420cbd5e1adb351ee37d /Swift | |
parent | fdcbeaf726457823892d86dd4b95db6f50ea3f5c (diff) | |
download | swift-contrib-aadcb75bca9be81755de286efd27335947bb0c85.zip swift-contrib-aadcb75bca9be81755de286efd27335947bb0c85.tar.bz2 |
Scroll MUC roster pixel-by-pixel.
Diffstat (limited to 'Swift')
-rw-r--r-- | Swift/QtUI/QtMainWindow.cpp | 1 | ||||
-rw-r--r-- | Swift/QtUI/Roster/QtTreeWidget.cpp | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/Swift/QtUI/QtMainWindow.cpp b/Swift/QtUI/QtMainWindow.cpp index 7d471db..f737e30 100644 --- a/Swift/QtUI/QtMainWindow.cpp +++ b/Swift/QtUI/QtMainWindow.cpp @@ -55,7 +55,6 @@ QtMainWindow::QtMainWindow(UIEventStream* uiEventStream) : QWidget(), MainWindow treeWidget_ = new QtTreeWidget(uiEventStream_); contextMenu_ = new QtRosterContextMenu(uiEventStream_, treeWidget_); treeWidget_->setContextMenu(contextMenu_); - treeWidget_->setVerticalScrollMode(QAbstractItemView::ScrollPerPixel); contactTabLayout->addWidget(treeWidget_); tabs_->addTab(contactsTabWidget_, "Contacts"); diff --git a/Swift/QtUI/Roster/QtTreeWidget.cpp b/Swift/QtUI/Roster/QtTreeWidget.cpp index 885cba6..cecb557 100644 --- a/Swift/QtUI/Roster/QtTreeWidget.cpp +++ b/Swift/QtUI/Roster/QtTreeWidget.cpp @@ -29,6 +29,7 @@ QtTreeWidget::QtTreeWidget(UIEventStream* eventStream, QWidget* parent) : QTreeV #ifdef SWIFT_PLATFORM_MACOSX setAlternatingRowColors(true); #endif + setVerticalScrollMode(QAbstractItemView::ScrollPerPixel); expandAll(); setAnimated(true); setIndentation(0); |