1
0
Fork 0
forked from len0rd/rockbox

rbutilQt: fix a bootloader message, and fixed that the bootloader log entry was shown in the normal uninstall dialog.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14521 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dominik Wenger 2007-08-29 17:41:06 +00:00
parent 18aad3c6d0
commit 322d2b46cd
2 changed files with 5 additions and 1 deletions

View file

@ -557,6 +557,8 @@ void RbUtilQt::installBootloader()
}
else if(ret == QMessageBox::Ignore)
{
logger->addItem(tr("Bootloader installation Skipped!"),LOGERROR);
logger->abort();
m_installed = true;
return;
}

View file

@ -113,7 +113,9 @@ void Uninstaller::uninstall(ProgressloggerInterface* dp)
QStringList Uninstaller::getAllSections()
{
QSettings installlog(m_mountpoint + "/.rockbox/rbutil.log", QSettings::IniFormat, 0);
return installlog.childGroups();
QStringList allSections = installlog.childGroups();
allSections.removeAt(allSections.lastIndexOf("Bootloader"));
return allSections;
}