summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStuart Morgan <smorgan@mythtv.org>2011-03-16 11:51:20 (GMT)
committer Paul Harrison <pharrison@mythtv.org>2011-03-16 13:02:10 (GMT)
commitae52b5874fbd8dd9e8dfc475c8e9c0a97c2eb12f (patch)
treec4b27ccbbf74951c119d0ed63955acfad8d82427
parentcf098409c828b088444e5307cdb3770d80917ee7 (diff)
Fix mouse usage in popups, thanks to Paul for spotting the error. Fixes #9667.
(cherry picked from commit afb8995fe52dd3a3f35ab6c256fd556cce68fd68)
-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 8fc873c..fd2be8c 100644
--- a/mythtv/libs/libmythui/mythuitype.cpp
+++ b/mythtv/libs/libmythui/mythuitype.cpp
@@ -1002,7 +1002,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;