diff options
-rw-r--r-- | utils/rbutilqt/base/bootloaderinstallbase.cpp | 3 | ||||
-rw-r--r-- | utils/rbutilqt/base/playerbuildinfo.cpp | 2 |
2 files changed, 4 insertions, 1 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 | ||
diff --git a/utils/rbutilqt/base/playerbuildinfo.cpp b/utils/rbutilqt/base/playerbuildinfo.cpp index 195c170f0e..c76abc4ffe 100644 --- a/utils/rbutilqt/base/playerbuildinfo.cpp +++ b/utils/rbutilqt/base/playerbuildinfo.cpp | |||
@@ -261,7 +261,7 @@ QVariant PlayerBuildInfo::value(DeviceInfo item, QString target) | |||
261 | break; | 261 | break; |
262 | 262 | ||
263 | default: | 263 | default: |
264 | result = playerInfo.value(s); | 264 | result = playerInfo.value(s, ""); |
265 | break; | 265 | break; |
266 | } | 266 | } |
267 | 267 | ||