mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-14 01:03:08 -07:00
- BUGFIX: Fixed deprecation warning with latest libtorrent svn
- FEATURE: Redesigned torrent creation dialog - FEATURE: Allow to set piece size when creating a torrent - improved new options dialog a little
This commit is contained in:
parent
2c2c1093c3
commit
9f36d521a4
8 changed files with 607 additions and 668 deletions
|
@ -511,7 +511,8 @@ void GUI::closeEvent(QCloseEvent *e) {
|
|||
|
||||
// Display window to create a torrent
|
||||
void GUI::on_actionCreate_torrent_triggered() {
|
||||
new createtorrent(this);
|
||||
createtorrent *ct = new createtorrent(this);
|
||||
connect(ct, SIGNAL(torrent_to_seed(QString)), this, SLOT(addTorrent(QString path)));
|
||||
}
|
||||
|
||||
// Called when we minimize the program
|
||||
|
@ -742,6 +743,10 @@ void GUI::processParams(const QStringList& params) {
|
|||
}
|
||||
}
|
||||
|
||||
void GUI::addTorrent(QString path) {
|
||||
BTSession->addTorrent(path);
|
||||
}
|
||||
|
||||
void GUI::processScannedFiles(const QStringList& params) {
|
||||
QString param;
|
||||
QSettings settings(QString::fromUtf8("qBittorrent"), QString::fromUtf8("qBittorrent"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue