summaryrefslogtreecommitdiff
path: root/ui/tree_view.cpp
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:26:50 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:26:50 +0200
commit669df123648aaa6aeccc70206b5417bc48b4e9ae (patch)
tree463c107a8d6405020bb304f7a7253e6b64afeee0 /ui/tree_view.cpp
parent5.18 (diff)
downloadFreeFileSync-669df123648aaa6aeccc70206b5417bc48b4e9ae.tar.gz
FreeFileSync-669df123648aaa6aeccc70206b5417bc48b4e9ae.tar.bz2
FreeFileSync-669df123648aaa6aeccc70206b5417bc48b4e9ae.zip
5.19
Diffstat (limited to 'ui/tree_view.cpp')
-rw-r--r--ui/tree_view.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/tree_view.cpp b/ui/tree_view.cpp
index 10037380..791fa6cc 100644
--- a/ui/tree_view.cpp
+++ b/ui/tree_view.cpp
@@ -46,11 +46,11 @@ void TreeView::extractVisibleSubtree(HierarchyObject& hierObj, //in
if (fileObj.isActive())
switch (fileObj.getSyncDir())
{
- case SYNC_DIR_LEFT:
+ case SyncDirection::LEFT:
return fileObj.getFileSize<RIGHT_SIDE>();
- case SYNC_DIR_RIGHT:
+ case SyncDirection::RIGHT:
return fileObj.getFileSize<LEFT_SIDE>();
- case SYNC_DIR_NONE:
+ case SyncDirection::NONE:
break;
}
return std::max(fileObj.getFileSize<LEFT_SIDE>(), fileObj.getFileSize<RIGHT_SIDE>());
bgstack15