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 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;