diff --git a/mythtv/libs/libmythtv/tv_play.cpp b/mythtv/libs/libmythtv/tv_play.cpp index e5813d7..c6e7817 100644 --- a/mythtv/libs/libmythtv/tv_play.cpp +++ b/mythtv/libs/libmythtv/tv_play.cpp @@ -3091,6 +3091,8 @@ void TV::HandleSpeedChangeTimerEvent(void) /// This selectively blocks KeyPress and Resize events bool TV::eventFilter(QObject *o, QEvent *e) { + VERBOSE(VB_IMPORTANT, LOC + QString("Filter: %1").arg(e->type())); + // We want to intercept all resize events sent to the main window if ((e->type() == QEvent::Resize)) return (GetMythMainWindow()!=o)?false:event(e); @@ -3124,6 +3126,18 @@ bool TV::eventFilter(QObject *o, QEvent *e) /// This handles all standard events bool TV::event(QEvent *e) { + if (e->type() != QEvent::Timer) + { + if (e->type() == MythEvent::MythEventMessage) + { + MythEvent *me = (MythEvent*)e; + VERBOSE(VB_IMPORTANT, LOC + QString("MythEvent: message '%1'") + .arg(me->Message())); + } + else + VERBOSE(VB_IMPORTANT, LOC + QString("Event: %1").arg(e->type())); + } + if (QEvent::Resize == e->type()) { PlayerContext *mctx = GetPlayerReadLock(0, __FILE__, __LINE__); diff --git a/mythtv/libs/libmythui/mythmainwindow.cpp b/mythtv/libs/libmythui/mythmainwindow.cpp index 17de33b..91618a6 100644 --- a/mythtv/libs/libmythui/mythmainwindow.cpp +++ b/mythtv/libs/libmythui/mythmainwindow.cpp @@ -812,6 +812,7 @@ bool MythMainWindow::ScreenShot(int w, int h) bool MythMainWindow::event(QEvent *e) { + VERBOSE(VB_IMPORTANT, QString("MW: event: %1").arg(e->type())); if (!updatesEnabled() && (e->type() == QEvent::UpdateRequest)) d->m_pendingUpdate = true; @@ -1800,6 +1801,7 @@ void MythMainWindow::mouseTimeout(void) bool MythMainWindow::eventFilter(QObject *, QEvent *e) { + VERBOSE(VB_IMPORTANT, QString("MW: Filter: %1").arg(e->type())); MythGestureEvent *ge; /* Don't let anything through if input is disallowed. */