summaryrefslogtreecommitdiff
path: root/browserGrid.cpp
diff options
context:
space:
mode:
authorchriszero <zerov83@gmail.com>2015-05-02 19:42:08 +0200
committerchriszero <zerov83@gmail.com>2015-05-02 19:42:08 +0200
commitf7448c90f3c27f44cca77bdf2399d4321ef990a2 (patch)
tree108d744a4c33a323a305a1163e73c54679c9ff86 /browserGrid.cpp
parent70a2f36b1b8abb3bdf5df019c3bef34189d728eb (diff)
downloadvdr-plugin-plex-f7448c90f3c27f44cca77bdf2399d4321ef990a2.tar.gz
vdr-plugin-plex-f7448c90f3c27f44cca77bdf2399d4321ef990a2.tar.bz2
Fixes segfault when using <areascroll/>
Diffstat (limited to 'browserGrid.cpp')
-rw-r--r--browserGrid.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/browserGrid.cpp b/browserGrid.cpp
index e181350..2b990e8 100644
--- a/browserGrid.cpp
+++ b/browserGrid.cpp
@@ -28,6 +28,15 @@ cBrowserGrid::~cBrowserGrid()
m_vElements.clear();
}
+void cBrowserGrid::Clear()
+{
+ m_pBackground->Clear();
+ m_pfooter->Clear();
+ m_pInfopane->Clear();
+ m_pWatch->Clear();
+ m_pGrid->Clear();
+}
+
void cBrowserGrid::Flush()
{
cMutexLock MutexLock(&cPlexSdOsd::RedrawMutex);