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/dolphincontextmenu.cpp | |
| parent | a705337fab20e230a3f990624f5f7de3b2468b3f (diff) | |
kdelibs4support--
Diffstat (limited to 'src/dolphincontextmenu.cpp')
| -rw-r--r-- | src/dolphincontextmenu.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dolphincontextmenu.cpp b/src/dolphincontextmenu.cpp index d8f101454..ccfd290e0 100644 --- a/src/dolphincontextmenu.cpp +++ b/src/dolphincontextmenu.cpp @@ -397,7 +397,7 @@ void DolphinContextMenu::insertDefaultItemActions(const KFileItemListProperties& // Insert 'Move to Trash' and/or 'Delete' if (properties.supportsDeleting()) { - const bool showDeleteAction = (KGlobal::config()->group("KDE").readEntry("ShowDeleteCommand", false) || + const bool showDeleteAction = (KSharedConfig::openConfig()->group("KDE").readEntry("ShowDeleteCommand", false) || !properties.isLocal()); const bool showMoveToTrashAction = (properties.isLocal() && properties.supportsMoving()); |
