Permalink
Browse files

Don't check for a null pointer here, it can never be null and the exi…

…stance of the check confuses cppcheck/coverity.
  • Loading branch information...
1 parent 64410be commit 7d88cef362eb91644eb5905fc7f3108d3a5b90f1 @stuartm stuartm committed May 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 mythtv/libs/libmythui/mythuiwebbrowser.cpp
@@ -389,7 +389,7 @@ void MythWebView::keyPressEvent(QKeyEvent *event)
// if the QWebView widget has focus then all keypresses from a regular
// keyboard get sent here first
- if (editHasFocus || (m_parentBrowser && m_parentBrowser->IsInputToggled()))
+ if (editHasFocus || m_parentBrowser->IsInputToggled())
{
// input is toggled so pass all keypresses to the QWebView's handler
QWebView::keyPressEvent(event);

0 comments on commit 7d88cef

Please sign in to comment.