crash fixed, when updates happen on deconstruction of the window

This commit is contained in:
Uwe Rathmann 2020-05-10 11:15:38 +02:00
parent 4d262d0a83
commit ecf49658f7

View File

@ -110,7 +110,7 @@ void QskFocusIndicator::onFocusItemChanged()
{ {
m_data->resetConnections(); m_data->resetConnections();
if ( window() == nullptr ) if ( !( window() && window()->contentItem() ) )
return; return;
// We want to be on top, but do we cover all corner cases ??? // We want to be on top, but do we cover all corner cases ???