summaryrefslogtreecommitdiffstats
path: root/lib/koproperty/editors/booledit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/koproperty/editors/booledit.cpp')
-rw-r--r--lib/koproperty/editors/booledit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/koproperty/editors/booledit.cpp b/lib/koproperty/editors/booledit.cpp
index 0e14bf27..fb71a445 100644
--- a/lib/koproperty/editors/booledit.cpp
+++ b/lib/koproperty/editors/booledit.cpp
@@ -131,7 +131,7 @@ bool
BoolEdit::eventFilter(TQObject* watched, TQEvent* e)
{
if(e->type() == TQEvent::KeyPress) {
- TQKeyEvent* ev = TQT_TQKEYEVENT(e);
+ TQKeyEvent* ev = static_cast<TQKeyEvent*>(e);
const int k = ev->key();
if(k == TQt::Key_Space || k == TQt::Key_Enter || k == TQt::Key_Return) {
if (m_toggle)