1
0
Fork 0
forked from len0rd/rockbox

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

@ -145,7 +145,7 @@ bool TalkFileCreator::createTalkList(QDir startDir)
if(!dir.dirName().isEmpty() && m_talkFolders)
{
// check if we should ignore it
if(m_generateOnlyNew && QFileInfo(dir.path() + "/_dirname.talk").exists())
if(m_generateOnlyNew && QFileInfo::exists(dir.path() + "/_dirname.talk"))
{
continue;
}
@ -186,7 +186,7 @@ bool TalkFileCreator::createTalkList(QDir startDir)
continue;
// check if we should ignore it
if(m_generateOnlyNew && QFileInfo(fileInf.path() + "/" + fileInf.fileName() + ".talk").exists())
if(m_generateOnlyNew && QFileInfo::exists(fileInf.path() + "/" + fileInf.fileName() + ".talk"))
{
continue;
}