make sure we have an m_under object before using it
svn path=/trunk/KDE/kdelibs/; revision=1069733
This commit is contained in:
parent
7a46df7066
commit
f3063c4fa9
@ -81,7 +81,7 @@ void PulseAnimation::updateState(QAbstractAnimation::State newState, QAbstractAn
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (oldState == Stopped && newState == Running) {
|
if (oldState == Stopped && newState == Running) {
|
||||||
if (m_under->target() != targetWidget() || m_under->size() != targetWidget()->size()) {
|
if (!m_under || m_under->target() != targetWidget() || m_under->size() != targetWidget()->size()) {
|
||||||
setCopy();
|
setCopy();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user