- Updated TODO

- Added a message box to display errors for torrent creation
This commit is contained in:
Christophe Dumez 2007-03-25 23:22:10 +00:00
parent d2d3968b8b
commit 1502bcb5d4
2 changed files with 9 additions and 2 deletions

View file

@ -132,6 +132,9 @@ void createtorrent::on_createButton_clicked(){
}
catch (std::exception& e){
std::cerr << e.what() << "\n";
QMessageBox::information(0, tr("Torrent creation"), tr("Torrent creation was successfully, reason: %1").arg(QString(e.what())));
hide();
return;
}
hide();
QMessageBox::information(0, tr("Torrent creation"), tr("Torrent was created successfully:")+" "+destination);