From c7f2ea3d7c05c466ba00bf576dac54b26482bc17 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 11 Jul 2023 21:47:49 +0900 Subject: Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3. Signed-off-by: Michele Calgaro --- src/gui/tabcontrol.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui') diff --git a/src/gui/tabcontrol.cpp b/src/gui/tabcontrol.cpp index 92afec6..cd68b97 100644 --- a/src/gui/tabcontrol.cpp +++ b/src/gui/tabcontrol.cpp @@ -32,7 +32,7 @@ void TabControl::setFocusToFirstChild() { if(!page) { return; } - TQObjectList* list = page->queryList(TQWIDGET_OBJECT_NAME_STRING); + TQObjectList* list = page->queryList("TQWidget"); for(TQObjectListIt it(*list); it.current(); ++it) { TQWidget* w = TQT_TQWIDGET(it.current()); if(w->isFocusEnabled()) { -- cgit v1.2.1