summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/kernel/qdnd_x11.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/qdnd_x11.cpp b/src/kernel/qdnd_x11.cpp
index 7179cc1fc..42892ca0b 100644
--- a/src/kernel/qdnd_x11.cpp
+++ b/src/kernel/qdnd_x11.cpp
@@ -1214,7 +1214,7 @@ Window findRealWindow( const TQPoint & pos, Window w, int md )
void TQDragManager::move( const TQPoint & globalPos )
{
- if (!object) {
+ if (!object || !object->source()) {
// perhaps the target crashed?
return;
}