[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kde-baseapps] dolphin/src/views: Fixed a trivial bug that was
From:       Tirtha Chatterjee <tirtha.p.chatterjee () gmail ! com>
Date:       2011-08-29 15:50:04
Message-ID: 20110829155004.1BB61A6078 () git ! kde ! org
[Download RAW message or body]

Git commit 50729352e969a66bcec08972035d902ecc2db4b7 by Tirtha Chatterjee.
Committed on 29/08/2011 at 17:48.
Pushed by chatterjee into branch 'master'.

Fixed a trivial bug that was breaking build.

M  +1    -2    dolphin/src/views/dolphinview.cpp

http://commits.kde.org/kde-baseapps/50729352e969a66bcec08972035d902ecc2db4b7

diff --git a/dolphin/src/views/dolphinview.cpp b/dolphin/src/views/dolphinview.cpp
index 5cb3d90..629b759 100644
--- a/dolphin/src/views/dolphinview.cpp
+++ b/dolphin/src/views/dolphinview.cpp
@@ -699,8 +699,7 @@ void DolphinView::slotItemActivated(int index)
     }
     else {
         foreach (int i, selectedItems) {
-            const KFileItem fileItem;
-            fileItem = fileItemModel()->fileItem(i);
+            const KFileItem fileItem = fileItemModel()->fileItem(i);
             if (fileItem.isDir()) {
                 emit tabRequested(fileItem.url());
             } else {

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic