summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/voicefile.cpp
diff options
context:
space:
mode:
authorDominik Wenger <domonoky@googlemail.com>2008-04-01 18:02:56 +0000
committerDominik Wenger <domonoky@googlemail.com>2008-04-01 18:02:56 +0000
commit2016ab4c96f920efbeecf85dc1dfe188b9356c16 (patch)
tree4ed70664cc9b1481c9e5de1cf50acb0f6328c133 /rbutil/rbutilqt/voicefile.cpp
parente249ecc85b30687764289a500c92d32dd2d10b0a (diff)
downloadrockbox-2016ab4c96f920efbeecf85dc1dfe188b9356c16.tar.gz
rockbox-2016ab4c96f920efbeecf85dc1dfe188b9356c16.zip
rbutil: let rbutil use the new voice.zip files. Also make the download cache working again. (make sure to connect signals before calling getFile() ).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16917 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt/voicefile.cpp')
-rw-r--r--rbutil/rbutilqt/voicefile.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/rbutil/rbutilqt/voicefile.cpp b/rbutil/rbutilqt/voicefile.cpp
index 08b39fdfef..f949839cf1 100644
--- a/rbutil/rbutilqt/voicefile.cpp
+++ b/rbutil/rbutilqt/voicefile.cpp
@@ -91,11 +91,12 @@ bool VoiceFileCreator::createVoiceFile(ProgressloggerInterface* logger)
// get the real file.
getter = new HttpGet(this);
getter->setFile(downloadFile);
- getter->getFile(genlangUrl);
-
+
connect(getter, SIGNAL(done(bool)), this, SLOT(downloadDone(bool)));
connect(getter, SIGNAL(dataReadProgress(int, int)), this, SLOT(updateDataReadProgress(int, int)));
connect(m_logger, SIGNAL(aborted()), getter, SLOT(abort()));
+
+ getter->getFile(genlangUrl);
return true;
}