From ce3f4e5d74ce4eeb70d2c61b9a21ca43c0e9228b Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Fri, 13 Jul 2007 17:23:52 +0000 Subject: [PATCH] remove unused variables svn path=/trunk/KDE/kdebase/apps/; revision=687466 --- src/kcategorizedview.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/kcategorizedview.cpp b/src/kcategorizedview.cpp index 72909e836..622fe7b60 100644 --- a/src/kcategorizedview.cpp +++ b/src/kcategorizedview.cpp @@ -608,7 +608,6 @@ void KCategorizedView::paintEvent(QPaintEvent *event) } // Redraw categories - int i = 0; QStyleOptionViewItem otherOption; foreach (const QString &category, d->categories) { @@ -938,7 +937,6 @@ QModelIndex KCategorizedView::moveCursor(CursorAction cursorAction, const QModelIndex current = selectionModel()->currentIndex(); int viewportWidth = viewport()->width() - spacing(); - int itemHeight = d->biggestItemSize.height(); int itemWidth = d->biggestItemSize.width(); int itemWidthPlusSeparation = spacing() + itemWidth; int elementsPerRow = viewportWidth / itemWidthPlusSeparation; -- 2.47.3