mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-22 11:32:41 -05:00
make the dialog box asking about replacing an up-to-date bootloader less confusing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15214 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f697158de1
commit
80ad919e26
1 changed files with 5 additions and 13 deletions
|
|
@ -564,20 +564,12 @@ void RbUtilQt::installBootloader()
|
||||||
if(blinstaller->uptodate())
|
if(blinstaller->uptodate())
|
||||||
{
|
{
|
||||||
int ret = QMessageBox::question(this, tr("Bootloader Installation"),
|
int ret = QMessageBox::question(this, tr("Bootloader Installation"),
|
||||||
tr("It seem your Bootloader is already up to date.\n"
|
tr("The bootloader is already installed and up to date.\n"
|
||||||
"Do really want to install it?"),
|
"Do want to replace the current bootloader?"),
|
||||||
QMessageBox::Ok | QMessageBox::Ignore |QMessageBox::Cancel,
|
QMessageBox::Yes | QMessageBox::No, QMessageBox::No);
|
||||||
QMessageBox::Cancel);
|
if(ret == QMessageBox::No)
|
||||||
if(ret == QMessageBox::Cancel)
|
|
||||||
{
|
{
|
||||||
logger->addItem(tr("Bootloader installation canceled!"),LOGERROR);
|
logger->addItem(tr("Bootloader installation skipped!"), LOGINFO);
|
||||||
logger->abort();
|
|
||||||
m_error = true;
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
else if(ret == QMessageBox::Ignore)
|
|
||||||
{
|
|
||||||
logger->addItem(tr("Bootloader installation skipped!"),LOGERROR);
|
|
||||||
logger->abort();
|
logger->abort();
|
||||||
m_installed = true;
|
m_installed = true;
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue