remove unused variables

svn path=/trunk/KDE/kdebase/apps/; revision=687466
This commit is contained in:
Peter Penz 2007-07-13 17:23:52 +00:00
parent b57fe4aa4c
commit ce3f4e5d74

View 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;