Fix DnD crash when source is not present

This resolves Bug 1602
pull/2/head
Timothy Pearson 11 years ago
parent 5747da54c6
commit b7d35a6235

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

Loading…
Cancel
Save