UI/BrowserSortFilterProxyModel.py

changeset 945
8cd4d08fa9f6
parent 791
9ec2ac20e54e
child 1112
8a7d1b9d18db
diff -r 1b59c4ba121e -r 8cd4d08fa9f6 UI/BrowserSortFilterProxyModel.py
--- a/UI/BrowserSortFilterProxyModel.py	Fri Mar 11 08:55:14 2011 +0100
+++ b/UI/BrowserSortFilterProxyModel.py	Fri Mar 11 16:51:57 2011 +0100
@@ -12,11 +12,12 @@
 
 import Preferences
 
+
 class BrowserSortFilterProxyModel(QSortFilterProxyModel):
     """
     Class implementing the browser sort filter proxy model.
     """
-    def __init__(self, parent = None):
+    def __init__(self, parent=None):
         """
         Constructor
         
@@ -69,7 +70,7 @@
         sindex = self.mapToSource(index)
         return self.sourceModel().item(sindex)
     
-    def hasChildren(self, parent = QModelIndex()):
+    def hasChildren(self, parent=QModelIndex()):
         """
         Public method to check for the presence of child items.
         

eric ide

mercurial