summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/base/talkfile.cpp
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2020-08-21 20:45:59 +0200
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2020-09-27 10:57:58 +0200
commit201e9bcde8d0d222d71792dc577d9eced4f45ebc (patch)
tree536d06ff4785a539a344388c606433d189b377ef /rbutil/rbutilqt/base/talkfile.cpp
parentf1f72ff8df68e190a43a56d14dfc820d1e58d96b (diff)
downloadrockbox-201e9bcde8d0d222d71792dc577d9eced4f45ebc.tar.gz
rockbox-201e9bcde8d0d222d71792dc577d9eced4f45ebc.tar.bz2
rockbox-201e9bcde8d0d222d71792dc577d9eced4f45ebc.zip
rbutil: Fix some minor issues found by clazy.
Change-Id: I0e63df09caf959dcb325c6ad2297c4348388a831
Diffstat (limited to 'rbutil/rbutilqt/base/talkfile.cpp')
-rw-r--r--rbutil/rbutilqt/base/talkfile.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/rbutil/rbutilqt/base/talkfile.cpp b/rbutil/rbutilqt/base/talkfile.cpp
index 1e9a968576..b4f05762e9 100644
--- a/rbutil/rbutilqt/base/talkfile.cpp
+++ b/rbutil/rbutilqt/base/talkfile.cpp
@@ -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;
}