rbutil: Fix various issues found by clazy.

Change-Id: I91ca2baed34f0f3b561602f95f66bbd4e17e74ab
This commit is contained in:
Dominik Riebeling 2021-12-25 19:59:57 +01:00
parent 0768705545
commit 01e245417e
9 changed files with 15 additions and 19 deletions

View file

@ -148,7 +148,8 @@ class TestHttpGet : public QObject
QString tempdir;
for(int i = 0; i < 100000; i++) {
tempdir = QDir::tempPath() + QString("/qttest-temp-%1").arg(i);
if(!QFileInfo(tempdir).exists()) break;
if(!QFileInfo::exists(tempdir))
break;
}
QDir().mkpath(tempdir);
return QDir(tempdir);