qtorrent not working on latest pyqt
Fabien Meghazi
amigrave at gmail.com
Mon Apr 4 18:09:51 CDT 2005
Hi all,
Qtorrent won't run with the new version of pyqt because of the API
change on QSizePolicy()
Traceback (most recent call last):
File "/usr/bin/qtorrent", line 39, in ?
w = TorrentWindow()
File "/usr/lib/python2.4/site-packages/pyqtorrent/torrentmain.py",
line 437, in __init__
torrentwindow.TorrentWindow.__init__(self, parent)
File "/usr/lib/python2.4/site-packages/pyqtorrent/torrentwindow.py",
line 55, in __init__
self.setSizePolicy(QSizePolicy(3,3,0,0,self.sizePolicy().hasHeightForWidth()))
TypeError: argument 1 of QSizePolicy() has an invalid type
Here are two patches in attach
Regards.
--
Fabien Meghazi
http://www.amigrave.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: torrentsettings.py.patch
Type: text/x-patch
Size: 2757 bytes
Desc: not available
Url : http://lists.ubuntu.com/archives/kubuntu-devel/attachments/20050405/aa4ff7c8/torrentsettings.py.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: torrentwindow.py.patch
Type: text/x-patch
Size: 14644 bytes
Desc: not available
Url : http://lists.ubuntu.com/archives/kubuntu-devel/attachments/20050405/aa4ff7c8/torrentwindow.py.bin
More information about the kubuntu-devel
mailing list