Skip to content

Commit

Permalink
Fix MythGestureEvent errors on android.
Browse files Browse the repository at this point in the history
  • Loading branch information
linuxdude42 committed Oct 2, 2020
1 parent d826cf9 commit 96fe887
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mythtv/libs/libmythtv/tv_play_win.cpp
Expand Up @@ -61,16 +61,16 @@ bool TvPlayWindow::gestureEvent(MythGestureEvent *event)
{
bool handled = false;
#ifdef Q_OS_ANDROID
switch (event->gesture())
switch (event->GetGesture())
{
case MythGestureEvent::Click:
switch (event->GetButton())
{
case MythGestureEvent::RightButton :
case Qt::RightButton :
LOG(VB_GENERAL, LOG_NOTICE, "TV Play Window R Click");
handled = true;
break;
case MythGestureEvent::LeftButton :
case Qt::LeftButton :
{
LOG(VB_GENERAL, LOG_NOTICE, "TV Play Window L Click");
// send it on like the others to be handled by TV
Expand Down

0 comments on commit 96fe887

Please sign in to comment.