summaryrefslogtreecommitdiffstats
path: root/translations/linguist_fr.ts
diff options
context:
space:
mode:
authorJoão Abecasis <joao.abecasis@nokia.com>2011-08-05 08:40:46 (GMT)
committerJoão Abecasis <joao.abecasis@nokia.com>2011-08-11 16:58:10 (GMT)
commit773a6df46243831dee7559f90e33d7eff3c5c71e (patch)
tree327bea4f1229adad5b8516f648d38553a23f90cf /translations/linguist_fr.ts
parent023976f9dd48a3deb947905d32d5fc0692da7318 (diff)
downloadQt-773a6df46243831dee7559f90e33d7eff3c5c71e.zip
Qt-773a6df46243831dee7559f90e33d7eff3c5c71e.tar.gz
Qt-773a6df46243831dee7559f90e33d7eff3c5c71e.tar.bz2
Avoid spurious detaching in QDir::to/fromNativeSeparators
The new code avoids non-const detaching operations until needed and uses a pointer into the "raw" QChar data from then on, thus skipping unneeded checks on the reference count for further detaching. These functions are used all the time by the file system classes so this small optimization won't hurt. In particular, it will help users who already use '/' when passing paths into Qt. Reviewed-by: Peter Hartmann
Diffstat (limited to 'translations/linguist_fr.ts')
0 files changed, 0 insertions, 0 deletions