Fix DnD crash when source is not present

This resolves Bug 1602
pull/2/head
Timothy Pearson 10 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 )
{
if (!object) {
if (!object || !object->source()) {
// perhaps the target crashed?
return;
}

Loading…
Cancel
Save