diff options
Diffstat (limited to 'languages/ruby/debugger/variablewidget.cpp')
-rw-r--r-- | languages/ruby/debugger/variablewidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/languages/ruby/debugger/variablewidget.cpp b/languages/ruby/debugger/variablewidget.cpp index 32b5d1ef..fc562baa 100644 --- a/languages/ruby/debugger/variablewidget.cpp +++ b/languages/ruby/debugger/variablewidget.cpp @@ -81,8 +81,8 @@ VariableWidget::VariableWidget(TQWidget *tqparent, const char *name) void VariableWidget::setEnabled(bool bEnabled) { TQWidget::setEnabled(bEnabled); - if (bEnabled && tqparentWidget() != 0) { - varTree_->setColumnWidth(0, tqparentWidget()->width()/2); + if (bEnabled && parentWidget() != 0) { + varTree_->setColumnWidth(0, parentWidget()->width()/2); } } // ************************************************************************** |