path: root/src/network/socket/qnativesocketengine_unix.cpp
diff options
authorFriedemann Kleint <>2015-10-21 14:18:01 +0200
committerFriedemann Kleint <>2015-10-21 16:36:10 +0000
commita3abf9d76b3760b37f6e846c21570806974641f2 (patch)
treeb204333f9edd47c749e6c5ad7e49ee24392921e9 /src/network/socket/qnativesocketengine_unix.cpp
parent2a1d3f330d5f8cfc5358055b27e8e8301b3e050a (diff)
Improve file handling in test of QSettings.
- Avoid duplication of slashes and use static variable for the const part in settingsPath(). - Do not run expensive cleanup twice in init()/cleanup() as was before by moving the code into a separate cleanupTestData() function called from cleanup() and initTestCase(). - Use QDir::removeRecursively() (which should be able to deal with readonly files, etc after 26bcc0565f49c731a4f288f93f04056ca20136a5 ) instead of system calls or the special removePath() function for CE/RT. - Switch QStandardPaths into test mode. Change-Id: Idcde2d17020eae1ea43e448266e3940c06f174ef Reviewed-by: Simon Hausmann <>
Diffstat (limited to 'src/network/socket/qnativesocketengine_unix.cpp')
0 files changed, 0 insertions, 0 deletions