mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 21:22:39 -05:00
rbutil: Fix various issues found by clazy.
Change-Id: I91ca2baed34f0f3b561602f95f66bbd4e17e74ab
This commit is contained in:
parent
0768705545
commit
01e245417e
9 changed files with 15 additions and 19 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue