diff options
Diffstat (limited to 'languages')
-rw-r--r-- | languages/cpp/debugger/dbgtoolbar.cpp | 2 | ||||
-rw-r--r-- | languages/ruby/debugger/dbgtoolbar.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/languages/cpp/debugger/dbgtoolbar.cpp b/languages/cpp/debugger/dbgtoolbar.cpp index 05b92d8a..05c695f1 100644 --- a/languages/cpp/debugger/dbgtoolbar.cpp +++ b/languages/cpp/debugger/dbgtoolbar.cpp @@ -229,7 +229,7 @@ DbgDocker::DbgDocker(TQWidget* parent, DbgToolBar* toolBar, const TQPixmap& pixm void DbgDocker::mousePressEvent(TQMouseEvent *e) { - if (!TQT_TQRECT_OBJECT(rect()).contains( e->pos())) + if (!rect().contains( e->pos())) return; switch (e->button()) { diff --git a/languages/ruby/debugger/dbgtoolbar.cpp b/languages/ruby/debugger/dbgtoolbar.cpp index 7dabbd3b..8a160959 100644 --- a/languages/ruby/debugger/dbgtoolbar.cpp +++ b/languages/ruby/debugger/dbgtoolbar.cpp @@ -228,7 +228,7 @@ DbgDocker::DbgDocker(TQWidget* parent, DbgToolBar* toolBar, const TQPixmap& pixm void DbgDocker::mousePressEvent(TQMouseEvent *e) { - if (!TQT_TQRECT_OBJECT(rect()).contains( e->pos())) + if (!rect().contains( e->pos())) return; switch (e->button()) { |