QDir: Remove redundant QString wrapping
Change-Id: I8368b137d15509cdec575a17f5dae3c0c343400f Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>bb10
parent
f3df265a38
commit
c376e3fbf0
|
|
@ -686,7 +686,7 @@ QString QDir::filePath(const QString &fileName) const
|
|||
{
|
||||
const QDirPrivate* d = d_ptr.constData();
|
||||
if (isAbsolutePath(fileName))
|
||||
return QString(fileName);
|
||||
return fileName;
|
||||
|
||||
QString ret = d->dirEntry.filePath();
|
||||
if (!fileName.isEmpty()) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue