summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-30 21:31:47 +0900
committerMichele Calgaro <[email protected]>2023-12-01 00:14:55 +0900
commit2d0252be2c7d7720c1ee7df1d2e643ef4ac3735a (patch)
tree977663b909d0e288727215ec7b59b0458fd798ea /lib
parentd31a7027d0b8e2237b1b398e436e82e9944b38cb (diff)
downloadtdevelop-2d0252be2c7d7720c1ee7df1d2e643ef4ac3735a.tar.gz
tdevelop-2d0252be2c7d7720c1ee7df1d2e643ef4ac3735a.zip
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 33b2598a0e14810025fd31406a689f561015e074)
Diffstat (limited to 'lib')
-rw-r--r--lib/widgets/propeditor/ppixmapedit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/widgets/propeditor/ppixmapedit.cpp b/lib/widgets/propeditor/ppixmapedit.cpp
index 5effbf42..3241f892 100644
--- a/lib/widgets/propeditor/ppixmapedit.cpp
+++ b/lib/widgets/propeditor/ppixmapedit.cpp
@@ -131,7 +131,7 @@ bool PPixmapEdit::eventFilter(TQObject *o, TQEvent *ev)
}
if(ev->type() == TQEvent::KeyPress)
{
- TQKeyEvent* e = TQT_TQKEYEVENT(ev);
+ TQKeyEvent* e = static_cast<TQKeyEvent*>(ev);
if((e->key() == Key_Enter) || (e->key()== Key_Space) || (e->key() == Key_Return))
{
m_button->animateClick();