|
|
|
@ -38,6 +38,7 @@ torrentAdditionDialog::torrentAdditionDialog(GUI *parent, QBtSession* _BTSession
@@ -38,6 +38,7 @@ torrentAdditionDialog::torrentAdditionDialog(GUI *parent, QBtSession* _BTSession
|
|
|
|
|
BTSession = _BTSession; |
|
|
|
|
// Set Properties list model
|
|
|
|
|
PropListModel = new TorrentFilesModel(); |
|
|
|
|
connect(PropListModel, SIGNAL(filteredFilesChanged()), SLOT(updateDiskSpaceLabels())); |
|
|
|
|
torrentContentList->setModel(PropListModel); |
|
|
|
|
torrentContentList->hideColumn(PROGRESS); |
|
|
|
|
PropDelegate = new PropListDelegate(); |
|
|
|
@ -280,6 +281,9 @@ void torrentAdditionDialog::showLoad(QString filePath, QString from_url) {
@@ -280,6 +281,9 @@ void torrentAdditionDialog::showLoad(QString filePath, QString from_url) {
|
|
|
|
|
} |
|
|
|
|
savePathTxt->setEditText(save_path); |
|
|
|
|
|
|
|
|
|
// Update size labels
|
|
|
|
|
updateDiskSpaceLabels(); |
|
|
|
|
|
|
|
|
|
// Show the dialog
|
|
|
|
|
show(); |
|
|
|
|
|
|
|
|
|