From f0d0dabf77ba63a31a571ba73c9374be5f262c21 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 12 Jul 2023 11:29:02 +0900 Subject: Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3. Signed-off-by: Michele Calgaro (cherry picked from commit 75b9f40221399ae82b0169494af7db6d35d0a070) --- ksirc/puke/pbutton.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ksirc/puke/pbutton.cpp') diff --git a/ksirc/puke/pbutton.cpp b/ksirc/puke/pbutton.cpp index f21cdf03..edccbe81 100644 --- a/ksirc/puke/pbutton.cpp +++ b/ksirc/puke/pbutton.cpp @@ -84,7 +84,7 @@ void PButton::messageHandler(int fd, PukeMessage *pm) void PButton::setWidget(TQObject *_qb) { - if(_qb != 0 && _qb->inherits(TQBUTTON_OBJECT_NAME_STRING) == FALSE) + if(_qb != 0 && _qb->inherits("TQButton") == FALSE) { errorInvalidSet(_qb); return; -- cgit v1.2.1