From 1ebf0a3ac023e3124a4e0960b21d295aa34c4654 Mon Sep 17 00:00:00 2001 From: mikeh Date: Sat, 31 Dec 2005 16:53:08 +0000 Subject: * Patch for open file dialog. --- net-p2p/qtorrent/files/patch-pyqtorrent-torrentmain.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 net-p2p/qtorrent/files/patch-pyqtorrent-torrentmain.py (limited to 'net-p2p/qtorrent') diff --git a/net-p2p/qtorrent/files/patch-pyqtorrent-torrentmain.py b/net-p2p/qtorrent/files/patch-pyqtorrent-torrentmain.py new file mode 100644 index 0000000..d089427 --- /dev/null +++ b/net-p2p/qtorrent/files/patch-pyqtorrent-torrentmain.py @@ -0,0 +1,11 @@ +--- pyqtorrent/torrentmain.py.orig Sat Dec 31 11:43:19 2005 ++++ pyqtorrent/torrentmain.py Sat Dec 31 11:43:31 2005 +@@ -501,7 +501,7 @@ + torrent.start() + + def openFile(self): +- fn = QFileDialog.getOpenFileName(None, "*.torrent") ++ fn = QFileDialog.getOpenFileName("*.torrent") + if fn: + self.newTorrent(str(fn)) + -- cgit v1.1