summaryrefslogtreecommitdiffstats
path: root/src/common/gui/dialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/gui/dialog.cpp')
-rw-r--r--src/common/gui/dialog.cpp2
1 files changed, 1 insertions, 1 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;
}