mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-15 01:33:07 -07:00
- Updated TODO
- Added a message box to display errors for torrent creation
This commit is contained in:
parent
d2d3968b8b
commit
1502bcb5d4
2 changed files with 9 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue