mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-11 07:18:08 +00:00
Fix compilation error
This commit is contained in:
parent
214c3cba73
commit
1fb510b2b0
@ -135,7 +135,7 @@ void TorrentCreatorThread::run() {
|
|||||||
emit updateProgress(100);
|
emit updateProgress(100);
|
||||||
emit creationSuccess(save_path, parent_path);
|
emit creationSuccess(save_path, parent_path);
|
||||||
} else {
|
} else {
|
||||||
throw std::exception(tr("Cannot write the output file").toLocal8Bit().constData());
|
throw std::exception();
|
||||||
}
|
}
|
||||||
} catch (std::exception& e){
|
} catch (std::exception& e){
|
||||||
emit creationFailure(QString::fromLocal8Bit(e.what()));
|
emit creationFailure(QString::fromLocal8Bit(e.what()));
|
||||||
|
Loading…
Reference in New Issue
Block a user