summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStuart Morgan <smorgan@mythtv.org>2011-03-16 11:51:20 (GMT)
committer Stuart Morgan <smorgan@mythtv.org>2011-03-16 11:51:20 (GMT)
commitafb8995fe52dd3a3f35ab6c256fd556cce68fd68 (patch)
tree440a78a3f07e4d06b69940b79bb181e884d0ccad
parent6e71eda7fab37f8c657d357979ff051ccf324afc (diff)
Fix mouse usage in popups, thanks to Paul for spotting the error. Fixes #9589
-rw-r--r--mythtv/libs/libmythui/mythuitype.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mythtv/libs/libmythui/mythuitype.cpp b/mythtv/libs/libmythui/mythuitype.cpp
index 50be483..a167741 100644
--- a/mythtv/libs/libmythui/mythuitype.cpp
+++ b/mythtv/libs/libmythui/mythuitype.cpp
@@ -1028,7 +1028,7 @@ void MythUIType::LoadNow(void)
*/
bool MythUIType::ContainsPoint(const QPoint &point) const
{
- if (m_Area.contains(point - m_Area.topLeft()))
+ if (m_Area.contains(point))
return true;
return false;