summaryrefslogtreecommitdiffstats
path: root/kmix/mdwswitch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmix/mdwswitch.cpp')
-rw-r--r--kmix/mdwswitch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kmix/mdwswitch.cpp b/kmix/mdwswitch.cpp
index 9a59028e..48b918a3 100644
--- a/kmix/mdwswitch.cpp
+++ b/kmix/mdwswitch.cpp
@@ -219,7 +219,7 @@ void MDWSwitch::setDisabled( bool value ) {
bool MDWSwitch::eventFilter( TQObject* obj, TQEvent* e )
{
if (e->type() == TQEvent::MouseButtonPress) {
- TQMouseEvent *qme = TQT_TQMOUSEEVENT(e);
+ TQMouseEvent *qme = static_cast<TQMouseEvent*>(e);
if (qme->button() == TQt::RightButton) {
showContextMenu();
return true;