summaryrefslogtreecommitdiffstats
path: root/examples2/dirview.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples2/dirview.py')
-rwxr-xr-xexamples2/dirview.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples2/dirview.py b/examples2/dirview.py
index 11e7eed..ef8bcd7 100755
--- a/examples2/dirview.py
+++ b/examples2/dirview.py
@@ -5,7 +5,7 @@ from python_tqt.qt import *
class Directory(TQListViewItem):
def __init__(self, parent, name=None):
- apply(TQListViewItem.__init__,(self,parent))
+ TQListViewItem.__init__(*(self,parent))
if isinstance(parent, TQListView):
self.p = None
self.f = '/'