Simplify and cleanup rockbox-info.txt handling.

Simplify RockboxInfo file handling. Remove Detect::installedVersion() and Detect::installedTarget(), as those became wrappers around RockboxInfo without functionality.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22237 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dominik Riebeling 2009-08-10 19:20:53 +00:00
parent ad7dab615f
commit 84ced00bbd
8 changed files with 23 additions and 53 deletions

View file

@ -47,7 +47,7 @@ bool VoiceFileCreator::createVoiceFile()
// read rockbox-info.txt
RockboxInfo info(m_mountpoint);
if(!info.open())
if(!info.success())
{
emit logItem(tr("could not find rockbox-info.txt"),LOGERROR);
emit done(true);