summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/qiodevice.cpp
diff options
context:
space:
mode:
authorJanne Anttila <janne.anttila@digia.com>2009-06-02 07:12:07 (GMT)
committerJanne Anttila <janne.anttila@digia.com>2009-06-02 07:12:07 (GMT)
commit6e7c48df05189e4066c9e455a4b47cfd5d47a7e7 (patch)
tree3d9047519ca3a83eac03353a455fd8a7eb8ea861 /src/corelib/io/qiodevice.cpp
parent539989f41316329e7aba69ba97e1579eed6036e6 (diff)
downloadQt-6e7c48df05189e4066c9e455a4b47cfd5d47a7e7.zip
Qt-6e7c48df05189e4066c9e455a4b47cfd5d47a7e7.tar.gz
Qt-6e7c48df05189e4066c9e455a4b47cfd5d47a7e7.tar.bz2
Fixed qiodevice compilation error when QIODEVICE_DEBUG is defined.
Diffstat (limited to 'src/corelib/io/qiodevice.cpp')
-rw-r--r--src/corelib/io/qiodevice.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/io/qiodevice.cpp b/src/corelib/io/qiodevice.cpp
index 3816803..765bf40 100644
--- a/src/corelib/io/qiodevice.cpp
+++ b/src/corelib/io/qiodevice.cpp
@@ -362,7 +362,7 @@ QIODevice::QIODevice()
{
#if defined QIODEVICE_DEBUG
QFile *file = qobject_cast<QFile *>(this);
- printf("%p QIODevice::QIODevice(\"%s\") %s\n", this, className(),
+ printf("%p QIODevice::QIODevice(\"%s\") %s\n", this, metaObject()->className(),
qPrintable(file ? file->fileName() : QString()));
#endif
}
@@ -375,7 +375,7 @@ QIODevice::QIODevice(QObject *parent)
: QObject(*new QIODevicePrivate, parent)
{
#if defined QIODEVICE_DEBUG
- printf("%p QIODevice::QIODevice(%p \"%s\")\n", this, parent, className());
+ printf("%p QIODevice::QIODevice(%p \"%s\")\n", this, parent, metaObject()->className());
#endif
}