diff options
Diffstat (limited to 'src/detailedlistview.cpp')
-rw-r--r-- | src/detailedlistview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/detailedlistview.cpp b/src/detailedlistview.cpp index 938c4a4..8d86262 100644 --- a/src/detailedlistview.cpp +++ b/src/detailedlistview.cpp @@ -378,7 +378,7 @@ Tellico::DetailedEntryItem* DetailedListView::locateItem(Data::EntryPtr entry_) bool DetailedListView::eventFilter(TQObject* obj_, TQEvent* ev_) { if(ev_->type() == TQEvent::MouseButtonPress && TQT_TQMOUSEEVENT(ev_)->button() == Qt::RightButton - && TQT_BASE_OBJECT(obj_) == TQT_BASE_OBJECT(header())) { + && obj_ == header()) { m_headerMenu->popup(TQT_TQMOUSEEVENT(ev_)->globalPos()); return true; } |