summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/talkfile.cpp
diff options
context:
space:
mode:
authorDominik Wenger <domonoky@googlemail.com>2008-02-09 18:58:14 +0000
committerDominik Wenger <domonoky@googlemail.com>2008-02-09 18:58:14 +0000
commit683da04ce4c2aabbd6c1929f0c56e2c42dd3e448 (patch)
tree647d9b9010ed9db42dad0d1f836ca7cf651dbb4f /rbutil/rbutilqt/talkfile.cpp
parent37dc15b67224b97006b3321ffb24f35a18675c26 (diff)
downloadrockbox-683da04ce4c2aabbd6c1929f0c56e2c42dd3e448.tar.gz
rockbox-683da04ce4c2aabbd6c1929f0c56e2c42dd3e448.tar.bz2
rockbox-683da04ce4c2aabbd6c1929f0c56e2c42dd3e448.zip
rbutil: tts and encoders: preparation for cli interface. installers: make sure all installers correctly emit a done signal.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16255 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt/talkfile.cpp')
-rw-r--r--rbutil/rbutilqt/talkfile.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/rbutil/rbutilqt/talkfile.cpp b/rbutil/rbutilqt/talkfile.cpp
index 0df653b972..478e9ea19a 100644
--- a/rbutil/rbutilqt/talkfile.cpp
+++ b/rbutil/rbutilqt/talkfile.cpp
@@ -60,10 +60,10 @@ bool TalkFileCreator::createTalkFiles(ProgressloggerInterface* logger)
connect(logger,SIGNAL(aborted()),this,SLOT(abort()));
m_logger->setProgressMax(0);
- QDirIterator::IteratorFlags flags = QDirIterator::NoIteratorFlags;
- if(m_recursive)
- flags = QDirIterator::Subdirectories;
-
+ QDirIterator::IteratorFlags flags = QDirIterator::NoIteratorFlags;
+ if(m_recursive)
+ flags = QDirIterator::Subdirectories;
+
QDirIterator it(m_dir,flags);
QSettings installlog(m_mountpoint + "/.rockbox/rbutil.log", QSettings::IniFormat, 0);
installlog.beginGroup("talkfiles");
@@ -141,6 +141,7 @@ bool TalkFileCreator::createTalkFiles(ProgressloggerInterface* logger)
m_logger->abort();
m_tts->stop();
m_enc->stop();
+
return false;
}
QApplication::processEvents();
@@ -152,6 +153,7 @@ bool TalkFileCreator::createTalkFiles(ProgressloggerInterface* logger)
m_logger->abort();
m_tts->stop();
m_enc->stop();
+
return false;
}
QApplication::processEvents();