container might be null. Check before dereferencing.
From: Erik Hovland <erik@hovland.org>
---
libs/libmythtv/sr_dialog.cpp | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/libs/libmythtv/sr_dialog.cpp b/libs/libmythtv/sr_dialog.cpp
index 877c5df..bdf8e9f 100644
a
|
b
|
void RecOptDialog::updateBackground(void) |
203 | 203 | QPainter tmp(&bground); |
204 | 204 | |
205 | 205 | LayerSet *container = theme->GetSet("background"); |
| 206 | |
| 207 | if (container) |
206 | 208 | container->Draw(&tmp, 0, 0); |
207 | 209 | |
208 | 210 | tmp.end(); |