From 9ccd31690b5d982588bcb9be1988c682233aabb8 Mon Sep 17 00:00:00 2001 From: Arno Date: Sat, 3 Sep 2016 07:31:28 +0200 Subject: Implement doubleClicked in FileWidget Navigate through the filesystem by doubleclicking directories. Rename enums from Row to Column, since it *are* columns. I'm not very good at naming things... --- filesorter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'filesorter.cpp') diff --git a/filesorter.cpp b/filesorter.cpp index b155a7c..a3bbf5a 100644 --- a/filesorter.cpp +++ b/filesorter.cpp @@ -33,7 +33,7 @@ bool VideoSorter::lessThan(const QModelIndex &source_left, const QModelIndex &so } //now check if we're sorting IconRow - if(source_left.column() == FileWidget::IconRow){ + if(source_left.column() == FileWidget::IconColumn){ return leftData < rightData; } -- cgit v1.2.3-70-g09d2