diff options
| author | Montel Laurent <[email protected]> | 2014-10-07 07:38:16 +0200 |
|---|---|---|
| committer | Montel Laurent <[email protected]> | 2014-10-07 07:38:16 +0200 |
| commit | 5c1420fec990f268b9abbbaedbe45b9388f1fddd (patch) | |
| tree | 548fcbd2238714fd06072004cd5343b625fe4a1f /src/dolphinpart.cpp | |
| parent | a705337fab20e230a3f990624f5f7de3b2468b3f (diff) | |
kdelibs4support--
Diffstat (limited to 'src/dolphinpart.cpp')
| -rw-r--r-- | src/dolphinpart.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dolphinpart.cpp b/src/dolphinpart.cpp index 0d28f3f1a..28259aaee 100644 --- a/src/dolphinpart.cpp +++ b/src/dolphinpart.cpp @@ -430,7 +430,7 @@ void DolphinPart::slotOpenContextMenu(const QPoint& pos, const bool supportsMoving = capabilities.supportsMoving(); if (capabilities.supportsDeleting()) { - const bool showDeleteAction = (KGlobal::config()->group("KDE").readEntry("ShowDeleteCommand", false) || + const bool showDeleteAction = (KSharedConfig::openConfig()->group("KDE").readEntry("ShowDeleteCommand", false) || !item.isLocalFile()); const bool showMoveToTrashAction = capabilities.isLocal() && supportsMoving; |
