diff options
Diffstat (limited to 'knode/kngroupdialog.cpp')
-rw-r--r-- | knode/kngroupdialog.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/knode/kngroupdialog.cpp b/knode/kngroupdialog.cpp index fc3353c01..19bbad34f 100644 --- a/knode/kngroupdialog.cpp +++ b/knode/kngroupdialog.cpp @@ -176,17 +176,17 @@ void KNGroupDialog::setButtonDirection(arrowButton b, arrowDirection d) void KNGroupDialog::slotItemSelected(TQListViewItem *it) { - const TQObject *s=TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>(sender())); + const TQObject *s=sender(); - if(TQT_BASE_OBJECT_CONST(s)==TQT_BASE_OBJECT(subView)) { + if(s==subView) { unsubView->clearSelection(); groupView->clearSelection(); arrowBtn2->setEnabled(false); arrowBtn1->setEnabled(true); setButtonDirection(btn1, left); } - else if(TQT_BASE_OBJECT_CONST(s)==TQT_BASE_OBJECT(unsubView)) { + else if(s==unsubView) { subView->clearSelection(); groupView->clearSelection(); arrowBtn1->setEnabled(false); |