summaryrefslogtreecommitdiffstats
path: root/konqueror/sidebar/trees/dirtree_module
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-05-19 14:51:39 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-05-19 14:51:39 -0500
commit3a3d187585f05730e7084ae122d80438bde88080 (patch)
treeee9f471fc9ece1f7238e0b6973211e91f2250eeb /konqueror/sidebar/trees/dirtree_module
parent533941e5ddcf5c54f2da68c743da4dea6678c352 (diff)
downloadtdebase-3a3d187585f05730e7084ae122d80438bde88080.tar.gz
tdebase-3a3d187585f05730e7084ae122d80438bde88080.zip
Fix inadvertent sidebar signal disconnection on mouse settings reload
This resolves Bug 1515
Diffstat (limited to 'konqueror/sidebar/trees/dirtree_module')
-rw-r--r--konqueror/sidebar/trees/dirtree_module/dirtree_item.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/konqueror/sidebar/trees/dirtree_module/dirtree_item.cpp b/konqueror/sidebar/trees/dirtree_module/dirtree_item.cpp
index 15c162d70..ee88a6cba 100644
--- a/konqueror/sidebar/trees/dirtree_module/dirtree_item.cpp
+++ b/konqueror/sidebar/trees/dirtree_module/dirtree_item.cpp
@@ -159,8 +159,9 @@ void KonqSidebarDirTreeItem::itemSelected()
{
bool bInTrash = false;
- if ( m_fileItem->url().directory(false) == TDEGlobalSettings::trashPath() )
+ if ( m_fileItem->url().directory(false) == TDEGlobalSettings::trashPath() ) {
bInTrash = true;
+ }
TQMimeSource *data = TQApplication::clipboard()->data();
bool paste = ( data->encodedData( data->format() ).size() != 0 );