summaryrefslogtreecommitdiffstats
path: root/src/gui/tabcontrol.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/tabcontrol.cpp')
-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()) {