summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2009-11-16 18:21:15 (GMT)
committerRemko Tronçon <git@el-tramo.be>2009-11-16 18:21:15 (GMT)
commitdfb2231c337a00e10e93e6cd61fd004db772c51d (patch)
tree121f0ca4fdd88958c7ff64d91319aa3d8cc7eb1a
parentb793111e4e4bbbe6738e4d0838e9a99b3580549d (diff)
downloadswift-dfb2231c337a00e10e93e6cd61fd004db772c51d.zip
swift-dfb2231c337a00e10e93e6cd61fd004db772c51d.tar.bz2
Scroll roster by pixel.
-rw-r--r--Swift/QtUI/QtMainWindow.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Swift/QtUI/QtMainWindow.cpp b/Swift/QtUI/QtMainWindow.cpp
index 701b1d2..2dad2fd 100644
--- a/Swift/QtUI/QtMainWindow.cpp
+++ b/Swift/QtUI/QtMainWindow.cpp
@@ -40,6 +40,7 @@ QtMainWindow::QtMainWindow(QtTreeWidgetFactory *treeWidgetFactory) : QWidget() {
contactTabLayout->setContentsMargins(0, 0, 0, 0);
treeWidget_ = dynamic_cast<QtTreeWidget*>(treeWidgetFactory->createTreeWidget());
+ treeWidget_->setVerticalScrollMode(QAbstractItemView::ScrollPerPixel);
contactTabLayout->addWidget(treeWidget_);
tabs_->addTab(contactsTabWidget_, "Contacts");