summaryrefslogtreecommitdiffstats
path: root/lib/koproperty/editors/fontedit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/koproperty/editors/fontedit.cpp')
-rw-r--r--lib/koproperty/editors/fontedit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/koproperty/editors/fontedit.cpp b/lib/koproperty/editors/fontedit.cpp
index 0ea29b6e..e53e785f 100644
--- a/lib/koproperty/editors/fontedit.cpp
+++ b/lib/koproperty/editors/fontedit.cpp
@@ -138,7 +138,7 @@ bool
FontEdit::eventFilter(TQObject* watched, TQEvent* e)
{
if(e->type() == TQEvent::KeyPress) {
- TQKeyEvent* ev = TQT_TQKEYEVENT(e);
+ TQKeyEvent* ev = static_cast<TQKeyEvent*>(e);
if(ev->key() == Key_Space) {
m_edit->button()->animateClick();
return true;