From b50df900ce9ce1c9ad3b2e6dd25feb5cde644e1d Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 30 Nov 2023 20:43:12 +0900 Subject: Replace 'Event' #define strings Signed-off-by: Michele Calgaro --- kmymoney2/views/kgloballedgerview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kmymoney2/views') diff --git a/kmymoney2/views/kgloballedgerview.cpp b/kmymoney2/views/kgloballedgerview.cpp index 8aec576..0b339de 100644 --- a/kmymoney2/views/kgloballedgerview.cpp +++ b/kmymoney2/views/kgloballedgerview.cpp @@ -1271,7 +1271,7 @@ bool TDEGlobalLedgerView::eventFilter(TQObject* o, TQEvent* e) bool rc = false; if(e->type() == TQEvent::KeyPress) { - TQKeyEvent *k = TQT_TQKEYEVENT(e); + TQKeyEvent *k = static_cast(e); if(m_inEditMode) { // tqDebug(TQString("object = %1, key = %2").arg(o->className()).arg(k->key())); if(o == m_register) { -- cgit v1.2.1