summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2008-02-03 11:45:35 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2008-02-03 11:45:35 +0000
commit5a38f3e9de56c780652a6a74c367987cbf8993f7 (patch)
tree64669a41a70aa44589c565d88d00b60635aa3c94
parent06daa03630e22e3a84c1b4ba77a1bfeedb29abc2 (diff)
downloadrockbox-5a38f3e9de56c780652a6a74c367987cbf8993f7.tar.gz
rockbox-5a38f3e9de56c780652a6a74c367987cbf8993f7.zip
If getting the required files for voice file creation fails abort log window.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16204 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--rbutil/rbutilqt/voicefile.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/voicefile.cpp b/rbutil/rbutilqt/voicefile.cpp
index 4601bcc698..54fd7a6ec0 100644
--- a/rbutil/rbutilqt/voicefile.cpp
+++ b/rbutil/rbutilqt/voicefile.cpp
@@ -53,6 +53,7 @@ bool VoiceFileCreator::createVoiceFile(ProgressloggerInterface* logger)
if(!info.open(QIODevice::ReadOnly))
{
m_logger->addItem(tr("failed to open rockbox-info.txt"),LOGERROR);
+ m_logger->abort();
return false;
}