- Initial implementation of "Append .!qB extension to incomplete files" (untested)

- Update torrent save path when its label is changed and "Append label to save path" setting is set
This commit is contained in:
Christophe Dumez 2009-12-18 13:36:47 +00:00
parent 1fd57b5d63
commit c61aded388
9 changed files with 112 additions and 2 deletions

View file

@ -873,6 +873,8 @@ void TransferListWidget::setSelectionLabel(QString label) {
proxyModel->setData(proxyModel->index(index.row(), TR_LABEL), QVariant(label));
TorrentPersistentData::saveLabel(hash, label);
emit torrentChangedLabel(old_label, label);
// Update save path if necessary
BTSession->changeLabelInTorrentSavePath(BTSession->getTorrentHandle(hash), old_label, label);
}
}