r17389 by fschmid - ScTreeWidget: enabled smooth scrolling.

scribus-commit scribus-commit at lists.scribus.net
Mon Mar 19 20:45:01 UTC 2012


Author: fschmid
Date: Mon Mar 19 20:45:01 2012
New Revision: 17389

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=17389
Log:
ScTreeWidget: enabled smooth scrolling.

Modified:
    trunk/Scribus/scribus/ui/sctreewidget.cpp

Modified: trunk/Scribus/scribus/ui/sctreewidget.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17389&path=/trunk/Scribus/scribus/ui/sctreewidget.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/sctreewidget.cpp (original)
+++ trunk/Scribus/scribus/ui/sctreewidget.cpp Mon Mar 19 20:45:01 2012
@@ -101,6 +101,7 @@
 	header()->hide();
 	header()->setResizeMode(QHeaderView::Stretch);
 	viewport()->setBackgroundRole(QPalette::Window);
+	setVerticalScrollMode(QAbstractItemView::ScrollPerPixel);
 	m_toolbox_mode = false;
     connect(this, SIGNAL(itemClicked(QTreeWidgetItem*,int)), this, SLOT(handleMousePress(QTreeWidgetItem*)));
 }




More information about the scribus-commit mailing list