Skip to content

Commit

Permalink
Change the signature of TvPlayWindow::gestureEvent() to match the bas…
Browse files Browse the repository at this point in the history
…e class, the two diverged at some point.
  • Loading branch information
stuartm committed Jun 19, 2012
1 parent 788bc51 commit 9f447f4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions mythtv/libs/libmythtv/tv_play_win.cpp
Expand Up @@ -62,10 +62,10 @@ void TvPlayWindow::UpdateProgress(void)
* \param uitype The mythuitype receiving the event
* \param event Mouse event
*/
void TvPlayWindow::gestureEvent(MythUIType *uitype, MythGestureEvent *event)
bool TvPlayWindow::gestureEvent(MythGestureEvent *event)
{
if (event->gesture() == MythGestureEvent::Click)
{

LOG(VB_GENERAL, LOG_NOTICE, "TV Play Window Click");
}
}
2 changes: 1 addition & 1 deletion mythtv/libs/libmythtv/tv_play_win.h
Expand Up @@ -17,7 +17,7 @@ class TvPlayWindow : public MythScreenType
TvPlayWindow(MythScreenStack *parent, const char *name);
~TvPlayWindow();

virtual void gestureEvent(MythUIType *, MythGestureEvent *);
virtual bool gestureEvent(MythGestureEvent *);
virtual bool Create(void);

void UpdateProgress(void);
Expand Down

0 comments on commit 9f447f4

Please sign in to comment.