rbutil: Fix some minor issues found by clazy.

Change-Id: I0e63df09caf959dcb325c6ad2297c4348388a831
This commit is contained in:
Dominik Riebeling 2020-08-21 20:45:59 +02:00
parent f1f72ff8df
commit 201e9bcde8
6 changed files with 7 additions and 8 deletions

View file

@ -48,7 +48,7 @@ void BootloaderInstallMi4::installStage2(void)
QFile oldbl(fwfile);
QString moved = QFileInfo(Utils::resolvePathCase(m_blfile)).absolutePath()
+ "/OF.mi4";
if(!QFileInfo(moved).exists()) {
if(!QFileInfo::exists(moved)) {
LOG_INFO() << "renaming" << fwfile << "to" << moved;
oldbl.rename(moved);
}