[Libreoffice-commits] core.git: Branch 'feature/gsoc15-open-remote-files-dialog' - 2 commits - svtools/source
Szymon Kłos
eszkadev at gmail.com
Thu Jul 30 06:59:58 PDT 2015
svtools/source/contnr/foldertree.cxx | 19 +++++++++++++------
1 file changed, 13 insertions(+), 6 deletions(-)
New commits:
commit 72984ce0e71bee56464d2afe65df1952f767da36
Author: Szymon Kłos <eszkadev at gmail.com>
Date: Thu Jul 30 15:11:22 2015 +0200
clear string (cached url) in correct place
Change-Id: Ib7ff8200b768ef3a2a50c42f0ebf165185cfeeba
diff --git a/svtools/source/contnr/foldertree.cxx b/svtools/source/contnr/foldertree.cxx
index ec99444..e5737a9 100644
--- a/svtools/source/contnr/foldertree.cxx
+++ b/svtools/source/contnr/foldertree.cxx
@@ -76,12 +76,12 @@ void FolderTree::FillTreeEntry( SvTreeListEntry* pEntry )
}
}
}
- }
- else
- {
- // this dir was updated recently
- // next time read this remote folder
- m_sLastUpdatedDir = "";
+ else
+ {
+ // this dir was updated recently
+ // next time read this remote folder
+ m_sLastUpdatedDir = "";
+ }
}
}
commit def3e1f4b6ed97459cf8a973dee9152d01f754f4
Author: Szymon Kłos <eszkadev at gmail.com>
Date: Thu Jul 30 13:57:20 2015 +0200
'Wait' cursor while expanding a tree node
Change-Id: Iad79fa16bc4c7f7086d2adca6ea417f6e1959e61
diff --git a/svtools/source/contnr/foldertree.cxx b/svtools/source/contnr/foldertree.cxx
index 636fce6..ec99444 100644
--- a/svtools/source/contnr/foldertree.cxx
+++ b/svtools/source/contnr/foldertree.cxx
@@ -27,7 +27,14 @@ FolderTree::FolderTree( vcl::Window* pParent, WinBits nBits )
void FolderTree::RequestingChildren( SvTreeListEntry* pEntry )
{
+ EnableChildPointerOverwrite( true );
+ SetPointer( PointerStyle::Wait );
+ Invalidate(InvalidateFlags::Update);
+
FillTreeEntry( pEntry );
+
+ SetPointer( PointerStyle::Arrow );
+ EnableChildPointerOverwrite( false );
}
void FolderTree::FillTreeEntry( SvTreeListEntry* pEntry )
More information about the Libreoffice-commits
mailing list