OSDN Git Service

correct function name passed to macro in QIODevice::ungetChar()
authorIvailo Monev <xakepa10@gmail.com>
Tue, 1 Nov 2022 21:39:33 +0000 (23:39 +0200)
committerIvailo Monev <xakepa10@gmail.com>
Tue, 1 Nov 2022 21:39:33 +0000 (23:39 +0200)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
src/core/io/qiodevice.cpp

index bed53c5..3040d12 100644 (file)
@@ -1315,7 +1315,7 @@ qint64 QIODevice::write(const char *data)
 void QIODevice::ungetChar(char c)
 {
     Q_D(QIODevice);
-    CHECK_READABLE(read, Q_VOID);
+    CHECK_READABLE(ungetChar, Q_VOID);
 
 #if defined QIODEVICE_DEBUG
     printf("%p QIODevice::ungetChar(0x%hhx '%c')\n", this, c, isprint(c) ? c : '?');