From: Christian Ehrlicher Date: Mon, 18 Jun 2007 16:21:26 +0000 (+0000) Subject: SVN_SILENT: typo, small msvc warning-- X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/e92bbbe27ca39a1329ae3f2d6ecae128dd71855b?ds=inline SVN_SILENT: typo, small msvc warning-- svn path=/trunk/KDE/kdebase/apps/; revision=677179 --- diff --git a/src/klistview.cpp b/src/klistview.cpp index acdc70220..1cba47b1b 100644 --- a/src/klistview.cpp +++ b/src/klistview.cpp @@ -846,10 +846,10 @@ void KListView::rowsInsertedArtifficial(const QModelIndex &parent, } // Add all elements mapped to the source model - for (int i = 0; i < d->proxyModel->rowCount(); i++) + for (int k = 0; k < d->proxyModel->rowCount(); k++) { d->sourceModelIndexList << - d->proxyModel->mapToSource(d->proxyModel->index(i, 0)); + d->proxyModel->mapToSource(d->proxyModel->index(k, 0)); } // Sort them with the general purpose lessThan method