diff options
Diffstat (limited to 'src/gui/tabcontrol.cpp')
-rw-r--r-- | src/gui/tabcontrol.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/tabcontrol.cpp b/src/gui/tabcontrol.cpp index cd68b97..609c3de 100644 --- a/src/gui/tabcontrol.cpp +++ b/src/gui/tabcontrol.cpp @@ -34,7 +34,7 @@ void TabControl::setFocusToFirstChild() { } TQObjectList* list = page->queryList("TQWidget"); for(TQObjectListIt it(*list); it.current(); ++it) { - TQWidget* w = TQT_TQWIDGET(it.current()); + TQWidget* w = static_cast<TQWidget*>(it.current()); if(w->isFocusEnabled()) { w->setFocus(); break; |