Show the loaded torrents in the transferlist when qBT is launched with a torrent/magnet and the AddNewTorrentDialog is showing. Closes #1564.

Conflicts:
	src/mainwindow.cpp
This commit is contained in:
sledgehammer999
2014-08-09 21:15:17 +03:00
parent 8659fec3f2
commit 6f5f661f30
3 changed files with 23 additions and 18 deletions

View File

@@ -53,8 +53,8 @@ class AddNewTorrentDialog : public QDialog
public:
~AddNewTorrentDialog();
static void showTorrent(const QString& torrent_path, const QString& from_url = QString());
static void showMagnet(const QString& torrent_link);
static void showTorrent(const QString& torrent_path, const QString& from_url, QWidget *parent = 0);
static void showMagnet(const QString& torrent_link, QWidget *parent = 0);
protected:
void showEvent(QShowEvent *event);