From 1fb510b2b0a07b3d89f2df57a64e9e74d9e1ef63 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Sun, 2 Jan 2011 09:37:56 +0000 Subject: [PATCH] Fix compilation error --- src/torrentcreator/torrentcreatorthread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/torrentcreator/torrentcreatorthread.cpp b/src/torrentcreator/torrentcreatorthread.cpp index f9dbcdf40..bcd244820 100644 --- a/src/torrentcreator/torrentcreatorthread.cpp +++ b/src/torrentcreator/torrentcreatorthread.cpp @@ -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()));