forked from len0rd/rockbox
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
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue