Correct the variable names from clipRegion to clipRect.
These variable are all of type QRect, so their name should be
clipRect. There are other variable of type QRegion that have the name
clipRegion.
---
mythtv/libs/libmythui/mythuitype.h | 4 ++--
mythtv/libs/libmythui/mythuiwebbrowser.cpp | 2 +-
mythtv/libs/libmythui/mythuiwebbrowser.h | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/mythtv/libs/libmythui/mythuitype.h b/mythtv/libs/libmythui/mythuitype.h
index a76b8aa..e795281 100644
a
|
b
|
class MUI_PUBLIC MythUIType : public QObject, public XMLParseBase |
111 | 111 | virtual void Pulse(void); |
112 | 112 | |
113 | 113 | void Draw(MythPainter *p, int xoffset, int yoffset, int alphaMod = 255, |
114 | | QRect clipRegion = QRect()); |
| 114 | QRect clipRect = QRect()); |
115 | 115 | |
116 | 116 | /// Convenience method, calls SetPosition(const MythPoint&) |
117 | 117 | /// Override that instead to change functionality. |
… |
… |
class MUI_PUBLIC MythUIType : public QObject, public XMLParseBase |
211 | 211 | |
212 | 212 | protected: |
213 | 213 | virtual void DrawSelf(MythPainter *p, int xoffset, int yoffset, |
214 | | int alphaMod, QRect clipRegion); |
| 214 | int alphaMod, QRect clipRect); |
215 | 215 | |
216 | 216 | void AddFocusableChildrenToList(QMap<int, MythUIType *> &focusList); |
217 | 217 | void HandleAlphaPulse(); |
diff --git a/mythtv/libs/libmythui/mythuiwebbrowser.cpp b/mythtv/libs/libmythui/mythuiwebbrowser.cpp
index 5bb6270..4c07cd0 100644
a
|
b
|
void MythUIWebBrowser::Pulse(void) |
1510 | 1510 | * \copydoc MythUIType::DrawSelf() |
1511 | 1511 | */ |
1512 | 1512 | void MythUIWebBrowser::DrawSelf(MythPainter *p, int xoffset, int yoffset, |
1513 | | int alphaMod, QRect clipRegion) |
| 1513 | int alphaMod, QRect clipRect) |
1514 | 1514 | { |
1515 | 1515 | if (!m_image || m_image->isNull() || !m_browser || m_browser->hasFocus()) |
1516 | 1516 | return; |
diff --git a/mythtv/libs/libmythui/mythuiwebbrowser.h b/mythtv/libs/libmythui/mythuiwebbrowser.h
index 5495a18..7f10126 100644
a
|
b
|
class MUI_PUBLIC MythUIWebBrowser : public MythUIType |
208 | 208 | bool IsOnTopScreen(void); |
209 | 209 | |
210 | 210 | virtual void DrawSelf(MythPainter *p, int xoffset, int yoffset, |
211 | | int alphaMod, QRect clipRegion); |
| 211 | int alphaMod, QRect clipRect); |
212 | 212 | |
213 | 213 | virtual bool ParseElement( |
214 | 214 | const QString &filename, QDomElement &element, bool showWarnings); |