From d0ba75d13e6887e43febfaf9d613db70f6297cd3 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Fri, 16 Dec 2011 23:37:49 +0100 Subject: Minor layout and coding style cleanups - Disable performance debugging output - Force a synchronous layout during scrolling. This prevents having a jerky scroll-animation if there are pending operations ongoing in parallel. - Minor coding style cleanups --- src/kitemviews/kitemlistview.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/kitemviews/kitemlistview.h') diff --git a/src/kitemviews/kitemlistview.h b/src/kitemviews/kitemlistview.h index 299e8f60b..90f753087 100644 --- a/src/kitemviews/kitemlistview.h +++ b/src/kitemviews/kitemlistview.h @@ -354,8 +354,8 @@ private: KItemListRubberBand* rubberBand() const; - void doLayout(LayoutAnimationHint hint, int changedIndex, int changedCount); - void doGroupHeadersLayout(LayoutAnimationHint hint, int changedIndex, int changedCount); + void doLayout(LayoutAnimationHint hint, int changedIndex = 0, int changedCount = 0); + void emitOffsetChanges(); KItemListWidget* createWidget(int index); -- cgit v1.3.1