mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 02:42:55 +00:00
avoid temporaries in QNetworkDiskCachePrivate::prepareLayout()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
parent
cce3ddf821
commit
261833e332
1 changed files with 1 additions and 3 deletions
|
@ -262,9 +262,7 @@ void QNetworkDiskCachePrivate::prepareLayout()
|
|||
//Create directory and subdirectories 0-F
|
||||
helper.mkpath(dataDirectory);
|
||||
for (uint i = 0; i < 16 ; i++) {
|
||||
QString str = QString::number(i, 16);
|
||||
QString subdir = dataDirectory + str;
|
||||
helper.mkdir(subdir);
|
||||
helper.mkdir(dataDirectory + QString::number(i, 16));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue