mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-10 13:45:10 -05:00
Simplify platform name retrieval call.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20431 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
6c73482d00
commit
a5394727a0
1 changed files with 1 additions and 2 deletions
|
|
@ -681,8 +681,7 @@ void RbUtilQt::installBootloader()
|
||||||
else if(bl->installed() == BootloaderInstallBase::BootloaderOther
|
else if(bl->installed() == BootloaderInstallBase::BootloaderOther
|
||||||
&& bl->capabilities() & BootloaderInstallBase::Backup)
|
&& bl->capabilities() & BootloaderInstallBase::Backup)
|
||||||
{
|
{
|
||||||
QString targetFolder = settings->name(settings->curPlatform())
|
QString targetFolder = settings->curPlatformName() + " Firmware Backup";
|
||||||
+ " Firmware Backup";
|
|
||||||
// remove invalid character(s)
|
// remove invalid character(s)
|
||||||
targetFolder.remove(QRegExp("[:/]"));
|
targetFolder.remove(QRegExp("[:/]"));
|
||||||
if(QMessageBox::question(this, tr("Create Bootloader backup"),
|
if(QMessageBox::question(this, tr("Create Bootloader backup"),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue