summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/qfile.cpp
diff options
context:
space:
mode:
authorJason Barron <jbarron@trolltech.com>2009-05-25 13:58:23 (GMT)
committerJason Barron <jbarron@trolltech.com>2009-05-25 13:58:23 (GMT)
commit565463fb1e7066a1aff4bc6fc4db0678c1747a2d (patch)
tree534cc4caa94c203ff11e3ff1ab4fb2e927092cdc /src/corelib/io/qfile.cpp
parentde01a7e1e827ee7df035e0b32166db2263712e63 (diff)
downloadQt-565463fb1e7066a1aff4bc6fc4db0678c1747a2d.zip
Qt-565463fb1e7066a1aff4bc6fc4db0678c1747a2d.tar.gz
Qt-565463fb1e7066a1aff4bc6fc4db0678c1747a2d.tar.bz2
Compile on Qt/Symbian.
The 'in' variable was removed in f1e9c0f3d2 so we don't need this line anymore.
Diffstat (limited to 'src/corelib/io/qfile.cpp')
-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;