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) m_blfile = sl.at(a); } } + if(m_blfile.isEmpty() && sl.size() > 0) { + m_blfile = sl.at(0); + } } 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) break; default: - result = playerInfo.value(s); + result = playerInfo.value(s, ""); break; }