SF.net SVN: fclient: [56] trunk/fclient/fclient_widgets/peer_widget.py
Status: Pre-Alpha
Brought to you by:
jurner
From: <jU...@us...> - 2007-11-07 17:35:03
|
Revision: 56 http://fclient.svn.sourceforge.net/fclient/?rev=56&view=rev Author: jUrner Date: 2007-11-07 09:35:00 -0800 (Wed, 07 Nov 2007) Log Message: ----------- config was broken - fixed Modified Paths: -------------- trunk/fclient/fclient_widgets/peer_widget.py Modified: trunk/fclient/fclient_widgets/peer_widget.py =================================================================== --- trunk/fclient/fclient_widgets/peer_widget.py 2007-11-07 17:34:24 UTC (rev 55) +++ trunk/fclient/fclient_widgets/peer_widget.py 2007-11-07 17:35:00 UTC (rev 56) @@ -67,13 +67,15 @@ def __init__(self, parent, - cfg=None + cfg=None, connectionName='', ): """ """ + QtGui.QWidget.__init__(self, parent) + self._connectionName = connectionName - self._cfg = cfg if cfg is None else config.Config(self) + self._cfg = cfg if cfg is not None else config.Config(self) self._fcpClient = None self._fcpEvents = None self._isCreated = False @@ -81,8 +83,7 @@ self._requestsPending = 0 self._showPeersFlags = self.ShowPeersAll - QtGui.QWidget.__init__(self, parent) - + # setup tree self.setUniformRowHeights(True) headerLabels = [ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |