[qcineoob] tabification
This commit is contained in:
parent
0e99cd984d
commit
ff0d9ced4d
9 changed files with 428 additions and 299 deletions
|
|
@ -53,6 +53,10 @@ class MiniTorrent(QFrame):
|
|||
QFrame.mousePressEvent(self, event)
|
||||
|
||||
torrent = self.backend.get_torrent(self.torrent.id)
|
||||
if torrent:
|
||||
self.parent.doAction('Details of torrent "%s"' %
|
||||
torrent.name, self.parent.displayTorrent, [torrent, self.backend])
|
||||
if event.button() == 4:
|
||||
self.parent.parent.newTab(u'Details of torrent "%s"' %
|
||||
torrent.name, self.backend, torrent=torrent)
|
||||
else:
|
||||
if torrent:
|
||||
self.parent.doAction('Details of torrent "%s"' %
|
||||
torrent.name, self.parent.displayTorrent, [torrent, self.backend])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue