]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/kcategorizedview.cpp
remove unused variables
[dolphin.git] / src / kcategorizedview.cpp
index 72909e8367a97f8bb9e919c1214a0de1110e3de6..622fe7b604dabdd4f44c6610999ed4c2d59d0809 100644 (file)
@@ -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;