mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 13:15:18 -05:00
rbutil: Fix some minor issues found by clazy.
Change-Id: I0e63df09caf959dcb325c6ad2297c4348388a831
This commit is contained in:
parent
f1f72ff8df
commit
201e9bcde8
6 changed files with 7 additions and 8 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue