const QDirPrivate* d = d_ptr.constData();
- QString fn = filePath(dirName);
if (!d->fileEngine)
- return QFileSystemEngine::createDirectory(QFileSystemEntry(fn), false);
- return d->fileEngine->mkdir(fn, false);
+ return QFileSystemEngine::createDirectory(QFileSystemEntry(dirName), false);
+ return d->fileEngine->mkdir(dirName, false);
}
/*!
const QDirPrivate* d = d_ptr.constData();
- QString fn = filePath(dirName);
if (!d->fileEngine)
- return QFileSystemEngine::removeDirectory(QFileSystemEntry(fn), false);
-
- return d->fileEngine->rmdir(fn, false);
+ return QFileSystemEngine::removeDirectory(QFileSystemEntry(dirName), false);
+ return d->fileEngine->rmdir(dirName, false);
}
/*!
const QDirPrivate* d = d_ptr.constData();
- QString fn = filePath(dirPath);
if (!d->fileEngine)
- return QFileSystemEngine::createDirectory(QFileSystemEntry(fn), true);
- return d->fileEngine->mkdir(fn, true);
+ return QFileSystemEngine::createDirectory(QFileSystemEntry(dirPath), true);
+ return d->fileEngine->mkdir(dirPath, true);
}
/*!
const QDirPrivate* d = d_ptr.constData();
- QString fn = filePath(dirPath);
if (!d->fileEngine)
- return QFileSystemEngine::removeDirectory(QFileSystemEntry(fn), true);
- return d->fileEngine->rmdir(fn, true);
+ return QFileSystemEngine::removeDirectory(QFileSystemEntry(dirPath), true);
+ return d->fileEngine->rmdir(dirPath, true);
}
/*!