Skip to content

Commit

Permalink
Remove unnecessary cast.
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-kristjansson committed Jan 28, 2012
1 parent 6b6bfff commit 11a79a9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mythtv/libs/libmyth/mythwidgets.cpp
Expand Up @@ -1198,8 +1198,7 @@ void MythPushButton::keyPressEvent(QKeyEvent *e)
QStringList actions;
keyPressActions.clear();

handled = GetMythMainWindow()->TranslateKeyPress("qt", (QKeyEvent *)e,
actions);
handled = GetMythMainWindow()->TranslateKeyPress("qt", e, actions);

if (!handled && !actions.isEmpty())
{
Expand Down

0 comments on commit 11a79a9

Please sign in to comment.