summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/gui/selectiveinstallwidget.cpp
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2020-11-26 22:41:51 +0100
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2020-11-26 22:41:51 +0100
commit3ee6ce956fe714899322c6226008bd190441c76a (patch)
treede7d60c03c126461460ce38a2d4e50e62486bd2b /rbutil/rbutilqt/gui/selectiveinstallwidget.cpp
parent185dfb42c278a23d269ef3e358edd24c1486deaa (diff)
downloadrockbox-3ee6ce956f.tar.gz
rockbox-3ee6ce956f.tar.bz2
rockbox-3ee6ce956f.zip
rbutil: Remove duplicated enum entry.
SystemInfo::PlatformName and Name actually retrieve the same value. That's not usefule, so remove one of both. Change-Id: I8ee429f099588e0e1e8129302542cd0f6f836203
Diffstat (limited to 'rbutil/rbutilqt/gui/selectiveinstallwidget.cpp')
-rw-r--r--rbutil/rbutilqt/gui/selectiveinstallwidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/rbutil/rbutilqt/gui/selectiveinstallwidget.cpp b/rbutil/rbutilqt/gui/selectiveinstallwidget.cpp
index 902f9861ed..3ac24666df 100644
--- a/rbutil/rbutilqt/gui/selectiveinstallwidget.cpp
+++ b/rbutil/rbutilqt/gui/selectiveinstallwidget.cpp
@@ -340,7 +340,7 @@ void SelectiveInstallWidget::installBootloader(void)
else if(bl->installed() == BootloaderInstallBase::BootloaderOther
&& bl->capabilities() & BootloaderInstallBase::Backup)
{
- QString targetFolder = SystemInfo::platformValue(SystemInfo::PlatformName).toString()
+ QString targetFolder = SystemInfo::platformValue(SystemInfo::Name).toString()
+ " Firmware Backup";
// remove invalid character(s)
targetFolder.remove(QRegExp("[:/]"));