summaryrefslogtreecommitdiffstats
path: root/src/gui/tabcontrol.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-14 21:19:13 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-15 11:49:48 +0900
commit727a2e58bc79c09f53766110fb7c31d3f3af1e46 (patch)
treeb25d6d7150349065234e2b6cabe8d2c3cdd27aa4 /src/gui/tabcontrol.cpp
parent8ed9929d5bce3d3af5684b487437e307e9f908a2 (diff)
downloadtellico-727a2e58bc79c09f53766110fb7c31d3f3af1e46.tar.gz
tellico-727a2e58bc79c09f53766110fb7c31d3f3af1e46.zip
Remove various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 3d581777cdf9c0ff8dc7e757a2cd576f69e96b51)
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;