From 32f446e6dec29b684a55f384dd9535dfc1d91d92 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Thu, 8 May 2008 21:16:57 +0000 Subject: * Prevent that the QTreeView::scrollTo() method adjusts the position of the horizontal scrollbar. This is done manually inside KTreeView if automatic scrolling is enabled. * increased the delay until the auto scrolling starts from 50 to 300 CCMAIL: haraldhv@stud.ntnu.no svn path=/trunk/KDE/kdebase/apps/; revision=805605 --- src/ktreeview.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ktreeview.h') diff --git a/src/ktreeview.h b/src/ktreeview.h index 4a6262621..0e9841fb3 100644 --- a/src/ktreeview.h +++ b/src/ktreeview.h @@ -35,6 +35,7 @@ public: bool autoHorizontalScroll() const; virtual void setSelectionModel(QItemSelectionModel *selectionModel); + virtual void scrollTo(const QModelIndex& index, ScrollHint hint = EnsureVisible); private: class KTreeViewPrivate; -- cgit v1.3