|
|
|
@ -72,7 +72,6 @@ PropertiesWidget::PropertiesWidget(QWidget *parent, MainWindow* main_window, Tra
@@ -72,7 +72,6 @@ PropertiesWidget::PropertiesWidget(QWidget *parent, MainWindow* main_window, Tra
|
|
|
|
|
trackerDownButton->setIcon(IconProvider::instance()->getIcon("go-down")); |
|
|
|
|
|
|
|
|
|
state = VISIBLE; |
|
|
|
|
setEnabled(false); |
|
|
|
|
|
|
|
|
|
// Set Properties list model
|
|
|
|
|
PropListModel = new TorrentContentFilterModel(); |
|
|
|
@ -206,7 +205,6 @@ void PropertiesWidget::clear() {
@@ -206,7 +205,6 @@ void PropertiesWidget::clear() {
|
|
|
|
|
PropListModel->model()->clear(); |
|
|
|
|
showPiecesAvailability(false); |
|
|
|
|
showPiecesDownloaded(false); |
|
|
|
|
setEnabled(false); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
QTorrentHandle PropertiesWidget::getCurrentTorrent() const { |
|
|
|
@ -243,7 +241,6 @@ void PropertiesWidget::loadTorrentInfos(const QTorrentHandle &_h) {
@@ -243,7 +241,6 @@ void PropertiesWidget::loadTorrentInfos(const QTorrentHandle &_h) {
|
|
|
|
|
clear(); |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
setEnabled(true); |
|
|
|
|
|
|
|
|
|
try { |
|
|
|
|
// Save path
|
|
|
|
|