summaryrefslogtreecommitdiffstats
path: root/kexi/widget/tableview/kexicomboboxpopup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/widget/tableview/kexicomboboxpopup.cpp')
-rw-r--r--kexi/widget/tableview/kexicomboboxpopup.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kexi/widget/tableview/kexicomboboxpopup.cpp b/kexi/widget/tableview/kexicomboboxpopup.cpp
index 9ecae92f..8a0e678a 100644
--- a/kexi/widget/tableview/kexicomboboxpopup.cpp
+++ b/kexi/widget/tableview/kexicomboboxpopup.cpp
@@ -343,13 +343,13 @@ void KexiComboBoxPopup::slotTVItemAccepted(KexiTableItem *item, int row, int)
bool KexiComboBoxPopup::eventFilter( TQObject *o, TQEvent *e )
{
- if (TQT_BASE_OBJECT(o)==TQT_BASE_OBJECT(this) && e->type()==TQEvent::Hide) {
+ if (o==this && e->type()==TQEvent::Hide) {
emit hidden();
}
else if (e->type()==TQEvent::MouseButtonPress) {
kdDebug() << "TQEvent::MousePress" << endl;
}
- else if (TQT_BASE_OBJECT(o)==TQT_BASE_OBJECT(d->tv)) {
+ else if (o==d->tv) {
if (e->type()==TQEvent::KeyPress) {
TQKeyEvent *ke = TQT_TQKEYEVENT(e);
const int k = ke->key();