summaryrefslogtreecommitdiffstats
path: root/twin
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-07-12 10:17:40 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-07-13 10:08:05 +0900
commit22625693f124aae09863f4d33e30b625a96c3557 (patch)
treef8c5e348d163222d25d1e0de896910bb06ce7aed /twin
parent0d30cdb3832749dc273f6d7bb82859937a462b43 (diff)
downloadtdebase-22625693f124aae09863f4d33e30b625a96c3557.tar.gz
tdebase-22625693f124aae09863f4d33e30b625a96c3557.zip
Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'twin')
-rw-r--r--twin/workspace.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/twin/workspace.cpp b/twin/workspace.cpp
index 6f6bedb3e..d7abcd3a3 100644
--- a/twin/workspace.cpp
+++ b/twin/workspace.cpp
@@ -2206,7 +2206,7 @@ unsigned int Workspace::sendFakedMouseEvent( TQPoint pos, WId w, MouseEmulation
if ( !w )
return state;
TQWidget* widget = TQWidget::find( w );
- if ( (!widget || widget->inherits(TQTOOLBUTTON_OBJECT_NAME_STRING) ) && !findClient( WindowMatchPredicate( w )) )
+ if ( (!widget || widget->inherits("TQToolButton") ) && !findClient( WindowMatchPredicate( w )) )
{
int x, y;
Window xw;