diff options
author | Igor Kushnir <igorkuo@gmail.com> | 2021-12-07 19:00:05 +0200 |
---|---|---|
committer | Igor Kushnir <igorkuo@gmail.com> | 2021-12-11 01:30:07 +0200 |
commit | 4229de1685dd0a671f332faf7bfed3ffe5cd8a87 (patch) | |
tree | feb775651a04c6b1e21ea8ff2adc3eb97d1e09d6 /src/widgets | |
parent | b00404abffdc423c00e35ba53ca6a8bdfa91b51d (diff) |
Remove redundant QDir::fromNativeSeparators() call
QFileSystemEntry::QFileSystemEntry(const QString &filePath) already
calls this function. Calling it repeatedly changes nothing but wastes
CPU time. Neither the line modified in this commit nor the
QFileSystemEntry's constructor have been changed since 2011's commit
"Initial import from the monolithic Qt." Other constructor overloads of
QFileInfoPrivate don't call QDir::fromNativeSeparators().
Change-Id: I01e54662efd96e87c4a686369dc0b265b47e5938
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/widgets')
0 files changed, 0 insertions, 0 deletions