summaryrefslogtreecommitdiff
path: root/ui/tree_view.cpp
diff options
context:
space:
mode:
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