From 555b487d07ce782bdd97fb0ea0c4a9bd15ee6baf Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 11 Jul 2023 20:48:12 +0900 Subject: [PATCH] Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3. Signed-off-by: Michele Calgaro --- src/common/gui/container.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/gui/container.cpp b/src/common/gui/container.cpp index b5917dc..7331be5 100644 --- a/src/common/gui/container.cpp +++ b/src/common/gui/container.cpp @@ -36,7 +36,7 @@ void Container::setFrame(Type type) _type = type; switch (type) { case Flat: - setMargin(parent() && parent()->inherits(TQTABWIDGET_OBJECT_NAME_STRING) ? 10 : 0); + setMargin(parent() && parent()->inherits("TQTabWidget") ? 10 : 0); setFrameStyle(TQFrame::NoFrame); break; case Sunken: