summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/common/gui/dialog.cpp2
-rw-r--r--src/common/gui/list_view.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/common/gui/dialog.cpp b/src/common/gui/dialog.cpp
index ff04649..9b24656 100644
--- a/src/common/gui/dialog.cpp
+++ b/src/common/gui/dialog.cpp
@@ -181,7 +181,7 @@ void TreeListDialog::pageDestroyed(TQObject *object)
TQListViewItemIterator it(_listView);
for (; it.current(); ++it) {
Item *item = static_cast<Item *>(it.current());
- if ( TQT_BASE_OBJECT(item->_page)!=TQT_BASE_OBJECT(object) ) continue;
+ if ( item->_page!=object ) continue;
delete item;
break;
}
diff --git a/src/common/gui/list_view.cpp b/src/common/gui/list_view.cpp
index d500f7b..97e6b16 100644
--- a/src/common/gui/list_view.cpp
+++ b/src/common/gui/list_view.cpp
@@ -45,7 +45,7 @@ bool ListView::eventFilter(TQObject *o, TQEvent *e)
TQValueList<EditListViewItem *>::const_iterator it;
for (it=_editItems.begin(); it!=_editItems.end(); ++it) {
for (uint i=0; i<(*it)->_editWidgets.count(); i++) {
- if ( TQT_BASE_OBJECT((*it)->_editWidgets[i])==TQT_BASE_OBJECT(o) ) {
+ if ( (*it)->_editWidgets[i]==o ) {
//tqDebug("event %i", e->type());
switch (e->type()) {
case TQEvent::KeyPress: {