mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 22:47:21 -06:00
- Updated TODO
- Added a message box to display errors for torrent creation
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user