Browse Source

Fix compilation error

adaptive-webui-19844
Christophe Dumez 14 years ago
parent
commit
1fb510b2b0
  1. 2
      src/torrentcreator/torrentcreatorthread.cpp

2
src/torrentcreator/torrentcreatorthread.cpp

@ -135,7 +135,7 @@ void TorrentCreatorThread::run() { @@ -135,7 +135,7 @@ void TorrentCreatorThread::run() {
emit updateProgress(100);
emit creationSuccess(save_path, parent_path);
} else {
throw std::exception(tr("Cannot write the output file").toLocal8Bit().constData());
throw std::exception();
}
} catch (std::exception& e){
emit creationFailure(QString::fromLocal8Bit(e.what()));

Loading…
Cancel
Save