summaryrefslogtreecommitdiffstats
path: root/knotes/knote.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-30 21:31:17 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-02 22:49:10 +0900
commitae35bc48cbbe82211fa27f49e2d4f3c8bcdbe0ec (patch)
treefe7187f6c8ce4a11740c29304086eda5fa4146cf /knotes/knote.cpp
parent51d0291b086eede28d1f3b8c1f59affbf4109a99 (diff)
downloadtdepim-ae35bc48cbbe82211fa27f49e2d4f3c8bcdbe0ec.tar.gz
tdepim-ae35bc48cbbe82211fa27f49e2d4f3c8bcdbe0ec.zip
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit ef173e633b7d068c4ddd2209af41899ec44e47ce)
Diffstat (limited to 'knotes/knote.cpp')
-rw-r--r--knotes/knote.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/knotes/knote.cpp b/knotes/knote.cpp
index 2a2098b58..32cd586ff 100644
--- a/knotes/knote.cpp
+++ b/knotes/knote.cpp
@@ -1381,7 +1381,7 @@ bool KNote::eventFilter( TQObject *o, TQEvent *ev )
if ( o == m_editor ) {
if ( ev->type() == TQEvent::FocusOut ) {
- TQFocusEvent *fe = TQT_TQFOCUSEVENT(ev);
+ TQFocusEvent *fe = static_cast<TQFocusEvent*>(ev);
if ( fe->reason() != TQFocusEvent::Popup &&
fe->reason() != TQFocusEvent::Mouse ) {
updateFocus();