summaryrefslogtreecommitdiffstats
path: root/noatun/modules/noatunui
diff options
context:
space:
mode:
Diffstat (limited to 'noatun/modules/noatunui')
-rw-r--r--noatun/modules/noatunui/userinterface.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/noatun/modules/noatunui/userinterface.cpp b/noatun/modules/noatunui/userinterface.cpp
index 7019aea5..250d79a9 100644
--- a/noatun/modules/noatunui/userinterface.cpp
+++ b/noatun/modules/noatunui/userinterface.cpp
@@ -281,15 +281,15 @@ void MilkChocolate::changeLoopType(int t)
bool MilkChocolate::eventFilter(TQObject *o, TQEvent *e)
{
if ((e->type() == TQEvent::MouseButtonRelease)
- && ((TQT_TQMOUSEEVENT(e))->button()==TQt::RightButton))
+ && ((static_cast<TQMouseEvent*>(e))->button()==TQt::RightButton))
{
- mouseReleaseEvent(TQT_TQMOUSEEVENT(e));
+ mouseReleaseEvent(static_cast<TQMouseEvent*>(e));
return true;
}
if (e->type() == TQEvent::Wheel)
{
- wheelEvent(TQT_TQWHEELEVENT(e));
+ wheelEvent(static_cast<TQWheelEvent*>(e));
return true;
}
return TQWidget::eventFilter(o, e);