From 3b07f92513f03772805943cf9ee77921f7c8aafe Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 15 Sep 2010 21:18:46 +0000 Subject: Part 2/2 of prior commit git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1175772 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- konqueror/sidebar/trees/konq_sidebartree.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'konqueror/sidebar/trees/konq_sidebartree.cpp') diff --git a/konqueror/sidebar/trees/konq_sidebartree.cpp b/konqueror/sidebar/trees/konq_sidebartree.cpp index 191de6eeb..c1c98e07a 100644 --- a/konqueror/sidebar/trees/konq_sidebartree.cpp +++ b/konqueror/sidebar/trees/konq_sidebartree.cpp @@ -680,7 +680,14 @@ void KonqSidebarTree::scanDir( KonqSidebarTreeItem *parent, const TQString &path TQString filePath = TQString( *eIt ).prepend( path ); KURL u; u.setPath( filePath ); - if ( KMimeType::findByURL( u, 0, true )->name() == "application/x-desktop" ) + TQString foundMimeName = KMimeType::findByURL( u, 0, true )->name(); + if ( (foundMimeName == "application/x-desktop") + || (foundMimeName == "media/builtin-mydocuments") + || (foundMimeName == "media/builtin-mycomputer") + || (foundMimeName == "media/builtin-mynetworkplaces") + || (foundMimeName == "media/builtin-printers") + || (foundMimeName == "media/builtin-trash") + || (foundMimeName == "media/builtin-webbrowser") ) loadTopLevelItem( parent, filePath ); } -- cgit v1.2.1