]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphinview.cpp
a lot of more KUrl::path() -> KUrl::toLocalFile() changes (mostly after a check for...
[dolphin.git] / src / dolphinview.cpp
index 8b914de4079819ab9cdcdf265526cd8c5153f3bd..7d7b3503bb6e849eb9a52df4e895f69e733ed4f0 100644 (file)
@@ -600,15 +600,15 @@ void DolphinView::changeSelection(const KFileItemList& selection)
     }
     const KUrl& baseUrl = url();
     KUrl url;
-    QItemSelection new_selection;
+    QItemSelection newSelection;
     foreach(const KFileItem& item, selection) {
         url = item.url().upUrl();
         if (baseUrl.equals(url, KUrl::CompareWithoutTrailingSlash)) {
             QModelIndex index = m_proxyModel->mapFromSource(m_dolphinModel->indexForItem(item));
-            new_selection.select(index, index);
+            newSelection.select(index, index);
         }
     }
-    itemView()->selectionModel()->select(new_selection,
+    itemView()->selectionModel()->select(newSelection,
                                          QItemSelectionModel::ClearAndSelect
                                          | QItemSelectionModel::Current);
 }