diff options
| author | Peter Penz <[email protected]> | 2007-07-13 17:23:52 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2007-07-13 17:23:52 +0000 |
| commit | ce3f4e5d74ce4eeb70d2c61b9a21ca43c0e9228b (patch) | |
| tree | 27d1aa4af9a43bbb0a99a1ec14a40cb92222581a /src/kcategorizedview.cpp | |
| parent | b57fe4aa4cea1711f34e7e676a6a2d0eae595462 (diff) | |
remove unused variables
svn path=/trunk/KDE/kdebase/apps/; revision=687466
Diffstat (limited to 'src/kcategorizedview.cpp')
| -rw-r--r-- | src/kcategorizedview.cpp | 2 |
1 files changed, 0 insertions, 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; |
