mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-19 16:31:21 +00:00
remove unused variables
svn path=/trunk/KDE/kdebase/apps/; revision=687466
This commit is contained in:
parent
b57fe4aa4c
commit
ce3f4e5d74
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue