summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-10-24 17:57:02 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-10-24 17:57:02 (GMT)
commitaadcb75bca9be81755de286efd27335947bb0c85 (patch)
tree6bad5d1cf78939894252420cbd5e1adb351ee37d /Swift/QtUI
parentfdcbeaf726457823892d86dd4b95db6f50ea3f5c (diff)
downloadswift-contrib-aadcb75bca9be81755de286efd27335947bb0c85.zip
swift-contrib-aadcb75bca9be81755de286efd27335947bb0c85.tar.bz2
Scroll MUC roster pixel-by-pixel.
Diffstat (limited to 'Swift/QtUI')
-rw-r--r--Swift/QtUI/QtMainWindow.cpp1
-rw-r--r--Swift/QtUI/Roster/QtTreeWidget.cpp1
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);