mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 13:15:18 -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
|
||||
&& bl->capabilities() & BootloaderInstallBase::Backup)
|
||||
{
|
||||
QString targetFolder = settings->name(settings->curPlatform())
|
||||
+ " Firmware Backup";
|
||||
QString targetFolder = settings->curPlatformName() + " Firmware Backup";
|
||||
// remove invalid character(s)
|
||||
targetFolder.remove(QRegExp("[:/]"));
|
||||
if(QMessageBox::question(this, tr("Create Bootloader backup"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue