summaryrefslogtreecommitdiffstats
path: root/libkonq/konq_operations.cc
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-15 21:18:46 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-15 21:18:46 +0000
commit3b07f92513f03772805943cf9ee77921f7c8aafe (patch)
tree40551727899bcf4d1f717058fb2f2ab2dbfc70b2 /libkonq/konq_operations.cc
parent6eb49d190a25e04bc155976a73cb047c7d5473a3 (diff)
downloadtdebase-3b07f92513f03772805943cf9ee77921f7c8aafe.tar.gz
tdebase-3b07f92513f03772805943cf9ee77921f7c8aafe.zip
Part 2/2 of prior commit
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1175772 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libkonq/konq_operations.cc')
-rw-r--r--libkonq/konq_operations.cc8
1 files changed, 7 insertions, 1 deletions
diff --git a/libkonq/konq_operations.cc b/libkonq/konq_operations.cc
index 6c7a2ba81..6a1ebcdb6 100644
--- a/libkonq/konq_operations.cc
+++ b/libkonq/konq_operations.cc
@@ -417,7 +417,13 @@ void KonqOperations::asyncDrop( const KFileItem * destItem )
delete this;
return;
}
- if ( destItem->mimetype() == "application/x-desktop")
+ if ( (destItem->mimetype() == "application/x-desktop")
+ || (destItem->mimetype() == "media/builtin-mydocuments")
+ || (destItem->mimetype() == "media/builtin-mycomputer")
+ || (destItem->mimetype() == "media/builtin-mynetworkplaces")
+ || (destItem->mimetype() == "media/builtin-printers")
+ || (destItem->mimetype() == "media/builtin-trash")
+ || (destItem->mimetype() == "media/builtin-webbrowser") )
{
// Local .desktop file. What type ?
KDesktopFile desktopFile( m_destURL.path() );