diff options
author | Remko Tronçon <git@el-tramo.be> | 2009-11-16 18:21:15 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2009-11-16 18:21:15 (GMT) |
commit | dfb2231c337a00e10e93e6cd61fd004db772c51d (patch) | |
tree | 121f0ca4fdd88958c7ff64d91319aa3d8cc7eb1a | |
parent | b793111e4e4bbbe6738e4d0838e9a99b3580549d (diff) | |
download | swift-dfb2231c337a00e10e93e6cd61fd004db772c51d.zip swift-dfb2231c337a00e10e93e6cd61fd004db772c51d.tar.bz2 |
Scroll roster by pixel.
-rw-r--r-- | Swift/QtUI/QtMainWindow.cpp | 1 |
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"); |