git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
load and save cutlists
[enigma2.git]
/
lib
/
gui
/
ewidget.cpp
diff --git
a/lib/gui/ewidget.cpp
b/lib/gui/ewidget.cpp
index 6f7fa91b30c40b3a895d6a94c0ae7634383c5158..3bc6e663841e940e1d7506f7baf4722c90f01a24 100644
(file)
--- a/
lib/gui/ewidget.cpp
+++ b/
lib/gui/ewidget.cpp
@@
-140,6
+140,8
@@
void eWidget::hide()
while (root && !root->m_desktop)
{
root = root->m_parent;
while (root && !root->m_desktop)
{
root = root->m_parent;
+ if (!root)
+ return;
abspos += root->position();
}
assert(root->m_desktop);
abspos += root->position();
}
assert(root->m_desktop);