summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-07-11 21:47:49 +0900
committerMichele Calgaro <[email protected]>2023-07-13 09:11:48 +0900
commit2aa8f8fcbfaea5600cec638bf690977c3b2e9504 (patch)
treeb3838247d7349463d1befc69df771f58b248fbdc /src/gui
parentc800d114bf78f9526834ddafa8ef5a1c2e063d8e (diff)
downloadtellico-2aa8f8fcbfaea5600cec638bf690977c3b2e9504.tar.gz
tellico-2aa8f8fcbfaea5600cec638bf690977c3b2e9504.zip
Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3.
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit c7f2ea3d7c05c466ba00bf576dac54b26482bc17)
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/tabcontrol.cpp2
1 files changed, 1 insertions, 1 deletions
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()) {