diff options
author | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2009-08-21 12:28:51 (GMT) |
---|---|---|
committer | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2009-08-21 12:28:51 (GMT) |
commit | 6b8e0e831093f35fe5e47633c1a0abd22e6811b0 (patch) | |
tree | 69d7bfcf587446d02f7888f728d26dda1723c632 /src/corelib/io/qfile.cpp | |
parent | 1e5ad7ed3f1e6f66a8367318c32df6e5dd68250a (diff) | |
download | Qt-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.cpp | 2 |
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); |