UI/BrowserSortFilterProxyModel.py

changeset 3034
7ce719013078
parent 2302
f29e9405c851
child 3060
5883ce99ee12
child 3160
209a07d7e401
--- 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
         

eric ide

mercurial