summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/qfile.cpp
diff options
context:
space:
mode:
authorMiikka Heikkinen <miikka.heikkinen@digia.com>2009-08-21 12:28:51 (GMT)
committerMiikka Heikkinen <miikka.heikkinen@digia.com>2009-08-21 12:28:51 (GMT)
commit6b8e0e831093f35fe5e47633c1a0abd22e6811b0 (patch)
tree69d7bfcf587446d02f7888f728d26dda1723c632 /src/corelib/io/qfile.cpp
parent1e5ad7ed3f1e6f66a8367318c32df6e5dd68250a (diff)
downloadQt-6b8e0e831093f35fe5e47633c1a0abd22e6811b0.zip
Qt-6b8e0e831093f35fe5e47633c1a0abd22e6811b0.tar.gz
Qt-6b8e0e831093f35fe5e47633c1a0abd22e6811b0.tar.bz2
Review inspired fixes to Symbian file engine
- Refactored symbian specific public method out of qfsfileengine.h into a static method. - Utilized PathInfo class for getting home, root, and temp paths. - Cosmetic changes. Reviewed-by: Janne Koskinen
Diffstat (limited to 'src/corelib/io/qfile.cpp')
-rw-r--r--src/corelib/io/qfile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/io/qfile.cpp b/src/corelib/io/qfile.cpp
index 5e1a5e7..a4b5ebc 100644
--- a/src/corelib/io/qfile.cpp
+++ b/src/corelib/io/qfile.cpp
@@ -747,7 +747,7 @@ QFile::rename(const QString &newName)
if (error) {
out.remove();
} else {
- fileEngine()->setFileName(newName);
+ fileEngine()->setFileName(newName);
setPermissions(permissions());
unsetError();
setFileName(newName);