[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kde-baseapps] dolphin/src/views: Made items a const.
From: Tirtha Chatterjee <tirtha.p.chatterjee () gmail ! com>
Date: 2011-08-30 16:00:06
Message-ID: 20110830160006.2DE71A6078 () git ! kde ! org
[Download RAW message or body]
Git commit 4df5b5596ebf01feedf9842c4b96e683d2fd015b by Tirtha Chatterjee.
Committed on 30/08/2011 at 10:02.
Pushed by chatterjee into branch 'master'.
Made items a const.
M +1 -1 dolphin/src/views/dolphinview.cpp
http://commits.kde.org/kde-baseapps/4df5b5596ebf01feedf9842c4b96e683d2fd015b
diff --git a/dolphin/src/views/dolphinview.cpp b/dolphin/src/views/dolphinview.cpp
index d00c5c0..da8e93c 100644
--- a/dolphin/src/views/dolphinview.cpp
+++ b/dolphin/src/views/dolphinview.cpp
@@ -702,7 +702,7 @@ void DolphinView::activate()
void DolphinView::slotItemActivated(int index)
{
- KFileItemList items = selectedItems();
+ const KFileItemList items = selectedItems();
if (items.isEmpty())
return;
if (items.count() == 1) {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic