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

List:       kde-commits
Subject:    =?utf-8?q?=5Bkdevplatform/1=2E2=5D_plugins/filemanager=3A_remove?=
From:       Milian Wolff <mail () milianw ! de>
Date:       2011-02-07 17:27:27
Message-ID: 20110207172727.A937BA609B () git ! kde ! org
[Download RAW message or body]

Git commit 76baa9694690aa29b1b9981896aab2704f893985 by Milian Wolff.
Committed on 07/02/11 at 18:27.
Pushed by mwolff into branch '1.2'.

remove obsolete code that is not applicable to recent KDE versions

this slot was removed apparently

M  +0    -4    plugins/filemanager/filemanager.cpp     

http://commits.kde.org/kdevplatform/76baa9694690aa29b1b9981896aab2704f893985

diff --git a/plugins/filemanager/filemanager.cpp \
b/plugins/filemanager/filemanager.cpp index c46d38f..c9864fd 100644
--- a/plugins/filemanager/filemanager.cpp
+++ b/plugins/filemanager/filemanager.cpp
@@ -71,10 +71,6 @@ FileManager::FileManager(KDevFileManagerPlugin *plugin, QWidget* \
                parent)
     dirop->setupMenu( KDirOperator::SortActions | KDirOperator::FileActions | \
                KDirOperator::NavActions | KDirOperator::ViewActions );
     connect(dirop, SIGNAL(urlEntered(const KUrl&)), SLOT(updateNav(const KUrl&)));
     connect(dirop, SIGNAL(contextMenuAboutToShow(KFileItem,QMenu*)), \
                SLOT(fillContextMenu(KFileItem,QMenu*)));
-    //KDirOperator emits fileSelected() twice because both activated() and \
                doubleClicked() emit fileClicked().
-    //activated() should be enough, so disconnect doubleClicked()
-    disconnect(dirop->view(), SIGNAL(doubleClicked(const QModelIndex&)),
-            dirop, SLOT(_k_slotDoubleClicked(const QModelIndex&)));
     l->addWidget(dirop);
 
     connect( dirop, SIGNAL(fileSelected(const KFileItem&)), this, \
SLOT(openFile(const KFileItem&)) );


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

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