Fix DnD crash when source is not present

This resolves Bug 1602
(cherry picked from commit b7d35a6235)
v3.5.13-sru
Timothy Pearson 10 years ago committed by Slávek Banko
parent bf0d76f75a
commit 08dd9f5517

@ -1214,7 +1214,7 @@ Window findRealWindow( const QPoint & pos, Window w, int md )
void QDragManager::move( const QPoint & globalPos )
{
if (!object) {
if (!object || !object->source()) {
// perhaps the target crashed?
return;
}

Loading…
Cancel
Save