Fix possible crash when adding a tracker to a magnet torrent without metadata (Closes #1034254)

This commit is contained in:
Christophe Dumez
2012-08-10 11:18:37 +03:00
parent 81b0a7f785
commit 8104c41332
4 changed files with 39 additions and 20 deletions

View File

@@ -396,7 +396,9 @@ void PropertiesWidget::loadDynamicData() {
filesList->setUpdatesEnabled(true);
}
}
} catch(invalid_handle e) {}
} catch(const invalid_handle& e) {
qWarning() << "Caught exception in PropertiesWidget::loadDynamicData(): " << e.what();
}
}
void PropertiesWidget::loadUrlSeeds() {