summaryrefslogtreecommitdiff
path: root/utils/rbutilqt/base/bootloaderinstallbase.cpp
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2022-04-15 20:51:27 +0200
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2022-04-15 21:03:44 +0200
commit90960adf56d4798a23b8fdc7e6a9bb25dd0bf530 (patch)
treea0d8576d0951d94ef48a3dc81c61652527fbef18 /utils/rbutilqt/base/bootloaderinstallbase.cpp
parentff08841ea91aad389dea607e39d13e2f61fa65eb (diff)
downloadrockbox-90960adf56d4798a23b8fdc7e6a9bb25dd0bf530.tar.gz
rockbox-90960adf56d4798a23b8fdc7e6a9bb25dd0bf530.zip
rbutil: Fix bootloader installation for various players.
Reworking handling of player specific data (static player configuration, as well as information retrieved from the server) changed the behaviour on a non-present configuration entry. This eventually caused the mountpoint not being set for players that don't have a bootloader file on disk. Fixing this accidentially removed the default-if-not-found handling for the bootloader file. Restore the old default value behaviour for both cases. Change-Id: I627782ccdef198619fb507f8b09a64811b3bd18f
Diffstat (limited to 'utils/rbutilqt/base/bootloaderinstallbase.cpp')
-rw-r--r--utils/rbutilqt/base/bootloaderinstallbase.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/rbutilqt/base/bootloaderinstallbase.cpp b/utils/rbutilqt/base/bootloaderinstallbase.cpp
index a185b25619..36a15c9e1a 100644
--- a/utils/rbutilqt/base/bootloaderinstallbase.cpp
+++ b/utils/rbutilqt/base/bootloaderinstallbase.cpp
@@ -211,6 +211,9 @@ void BootloaderInstallBase::setBlFile(QStringList sl)
211 m_blfile = sl.at(a); 211 m_blfile = sl.at(a);
212 } 212 }
213 } 213 }
214 if(m_blfile.isEmpty() && sl.size() > 0) {
215 m_blfile = sl.at(0);
216 }
214} 217}
215 218
216 219