mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-10 05:32:40 -05:00
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:
parent
18aad3c6d0
commit
322d2b46cd
2 changed files with 5 additions and 1 deletions
|
|
@ -557,6 +557,8 @@ void RbUtilQt::installBootloader()
|
||||||
}
|
}
|
||||||
else if(ret == QMessageBox::Ignore)
|
else if(ret == QMessageBox::Ignore)
|
||||||
{
|
{
|
||||||
|
logger->addItem(tr("Bootloader installation Skipped!"),LOGERROR);
|
||||||
|
logger->abort();
|
||||||
m_installed = true;
|
m_installed = true;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -113,7 +113,9 @@ void Uninstaller::uninstall(ProgressloggerInterface* dp)
|
||||||
QStringList Uninstaller::getAllSections()
|
QStringList Uninstaller::getAllSections()
|
||||||
{
|
{
|
||||||
QSettings installlog(m_mountpoint + "/.rockbox/rbutil.log", QSettings::IniFormat, 0);
|
QSettings installlog(m_mountpoint + "/.rockbox/rbutil.log", QSettings::IniFormat, 0);
|
||||||
return installlog.childGroups();
|
QStringList allSections = installlog.childGroups();
|
||||||
|
allSections.removeAt(allSections.lastIndexOf("Bootloader"));
|
||||||
|
return allSections;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue