diff options
Diffstat (limited to 'arts/builder/structureport.cpp')
-rw-r--r-- | arts/builder/structureport.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arts/builder/structureport.cpp b/arts/builder/structureport.cpp index 55c15211..e61fa2a9 100644 --- a/arts/builder/structureport.cpp +++ b/arts/builder/structureport.cpp @@ -224,7 +224,7 @@ ModulePort *StructurePort::portAt(int segment, int x, int y) assert(segment == 0); TQPoint clickpoint(x,y); - if(_port->clickrect.tqcontains(clickpoint)) return _port; + if(_port->clickrect.contains(clickpoint)) return _port; return 0; } |