summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/qiodevice.cpp
diff options
context:
space:
mode:
authoraxis <qt-info@nokia.com>2010-11-23 08:51:55 (GMT)
committeraxis <qt-info@nokia.com>2010-11-23 08:51:55 (GMT)
commit879c325b3ea8108790f46f3bb58e91ebc12fa550 (patch)
tree97463065a200e32bb80b19781fddc088cb81d025 /src/corelib/io/qiodevice.cpp
parentd7d0b1528fd200fc3110093244b8265fdf457238 (diff)
parentb1c412cefa51f0eea79dbf279f2a23414ccecc3d (diff)
downloadQt-879c325b3ea8108790f46f3bb58e91ebc12fa550.zip
Qt-879c325b3ea8108790f46f3bb58e91ebc12fa550.tar.gz
Qt-879c325b3ea8108790f46f3bb58e91ebc12fa550.tar.bz2
Merge branch '4.7' into 4.7-s60
Conflicts: src/3rdparty/webkit/WebKit/qt/Api/qwebpage.cpp src/3rdparty/webkit/WebKit/qt/tests/qwebpage/tst_qwebpage.cpp
Diffstat (limited to 'src/corelib/io/qiodevice.cpp')
-rw-r--r--src/corelib/io/qiodevice.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/corelib/io/qiodevice.cpp b/src/corelib/io/qiodevice.cpp
index 26e587d..68fb2bf 100644
--- a/src/corelib/io/qiodevice.cpp
+++ b/src/corelib/io/qiodevice.cpp
@@ -395,7 +395,10 @@ QIODevice::QIODevice(QIODevicePrivate &dd, QObject *parent)
/*!
- Destructs the QIODevice object.
+ The destructor is virtual, and QIODevice is an abstract base
+ class. This destructor does not call close(), but the subclass
+ destructor might. If you are in doubt, call close() before
+ destroying the QIODevice.
*/
QIODevice::~QIODevice()
{