Browse Source

- Removed useless variable check

adaptive-webui-19844
Christophe Dumez 15 years ago
parent
commit
a9686e8c4b
  1. 5
      src/torrentAddition.h

5
src/torrentAddition.h

@ -279,11 +279,8 @@ public slots: @@ -279,11 +279,8 @@ public slots:
void updateDiskSpaceLabels() {
unsigned long long available = misc::freeDiskSpaceOnPath(savePathTxt->text());
if (available > 0) {
lbl_disk_space->setText(misc::friendlyUnit(available));
} else {
lbl_disk_space->setText(tr("Unknown"));
}
// Determine torrent size
unsigned long long torrent_size = 0;
int nbFiles = t->num_files();

Loading…
Cancel
Save