--- a/UI/BrowserSortFilterProxyModel.py Sat Oct 19 12:28:12 2013 +0200 +++ b/UI/BrowserSortFilterProxyModel.py Sat Oct 19 13:03:39 2013 +0200 @@ -49,11 +49,11 @@ @param right index of right item (QModelIndex) @return true, if left is less than right (boolean) """ - l = left.model() and left.model().item(left) or None - r = right.model() and right.model().item(right) or None + le = left.model() and left.model().item(left) or None + ri = right.model() and right.model().item(right) or None - if l and r: - return l.lessThan(r, self.__sortColumn, self.__sortOrder) + if le and ri: + return le.lessThan(ri, self.__sortColumn, self.__sortOrder) return False