summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiikka Heikkinen <miikka.heikkinen@digia.com>2009-05-26 06:36:28 (GMT)
committerMiikka Heikkinen <miikka.heikkinen@digia.com>2009-05-26 06:36:28 (GMT)
commit53b98fea3517c64a7f67693333e3c1af56d42a68 (patch)
treea99678ac2c6f347cf22b65b7b338f08647947ad2
parent31014eeeb8b994eeddc504636135682f77c7e4a6 (diff)
parent565463fb1e7066a1aff4bc6fc4db0678c1747a2d (diff)
downloadQt-53b98fea3517c64a7f67693333e3c1af56d42a68.zip
Qt-53b98fea3517c64a7f67693333e3c1af56d42a68.tar.gz
Qt-53b98fea3517c64a7f67693333e3c1af56d42a68.tar.bz2
Merge branch 'master' of git@scm.dev.troll.no:qt/qt-s60-public
-rw-r--r--src/corelib/io/qfile.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/corelib/io/qfile.cpp b/src/corelib/io/qfile.cpp
index 4277779..551485d 100644
--- a/src/corelib/io/qfile.cpp
+++ b/src/corelib/io/qfile.cpp
@@ -741,7 +741,6 @@ QFile::rename(const QString &newName)
error = true;
}
if(!error) {
- in.close();
if (!remove()) {
d->setError(QFile::RenameError, tr("Cannot remove source file"));
error = true;