diff options
author | Michele Calgaro <[email protected]> | 2023-11-30 20:43:33 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-30 20:43:33 +0900 |
commit | 1be100df961db31fe5fc345a6ae832b0740cef1e (patch) | |
tree | 15d180a2c9d52351dd5234829a9557a816c91926 /src/detailedlistview.cpp | |
parent | dbf84303c4c651dfd061eff721a028cfd73e3b8b (diff) | |
download | tellico-1be100df961db31fe5fc345a6ae832b0740cef1e.tar.gz tellico-1be100df961db31fe5fc345a6ae832b0740cef1e.zip |
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/detailedlistview.cpp')
-rw-r--r-- | src/detailedlistview.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/detailedlistview.cpp b/src/detailedlistview.cpp index d6eb699..f014baf 100644 --- a/src/detailedlistview.cpp +++ b/src/detailedlistview.cpp @@ -377,9 +377,9 @@ Tellico::DetailedEntryItem* DetailedListView::locateItem(Data::EntryPtr entry_) bool DetailedListView::eventFilter(TQObject* obj_, TQEvent* ev_) { if(ev_->type() == TQEvent::MouseButtonPress - && TQT_TQMOUSEEVENT(ev_)->button() == TQt::RightButton + && static_cast<TQMouseEvent*>(ev_)->button() == TQt::RightButton && obj_ == header()) { - m_headerMenu->popup(TQT_TQMOUSEEVENT(ev_)->globalPos()); + m_headerMenu->popup(static_cast<TQMouseEvent*>(ev_)->globalPos()); return true; } return GUI::ListView::eventFilter(obj_, ev_); |