diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-04-23 14:28:33 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-04-23 14:28:33 -0500 |
commit | 030d09e784a85e2f3a4fd40327da15c76de75683 (patch) | |
tree | 748fcc4fdf9ff7f5e2fadaddef93b4002fa27af3 /kicker/taskbar | |
parent | 1e170d411c6679af09864192b3d8354c7385d7cf (diff) | |
download | tdebase-030d09e784a85e2f3a4fd40327da15c76de75683.tar.gz tdebase-030d09e784a85e2f3a4fd40327da15c76de75683.zip |
Prevent Kicker from crashing if no DnD source is available
Diffstat (limited to 'kicker/taskbar')
-rw-r--r-- | kicker/taskbar/taskcontainer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kicker/taskbar/taskcontainer.cpp b/kicker/taskbar/taskcontainer.cpp index 860c231bb..326c83cf1 100644 --- a/kicker/taskbar/taskcontainer.cpp +++ b/kicker/taskbar/taskcontainer.cpp @@ -1457,7 +1457,7 @@ void TaskContainer::dragEnterEvent( TQDragEnterEvent* e ) return; } - if ((e->source()->parent() == this->parent()) && TaskDrag::canDecode(e) && READ_MERGED_TASBKAR_SETTING(allowDragAndDropReArrange) && (!READ_MERGED_TASBKAR_SETTING(sortByApp))) + if (e->source() && (e->source()->parent() == this->parent()) && TaskDrag::canDecode(e) && READ_MERGED_TASBKAR_SETTING(allowDragAndDropReArrange) && (!READ_MERGED_TASBKAR_SETTING(sortByApp))) { e->accept(); } |