summaryrefslogtreecommitdiffstats
path: root/src/kernel/qdnd_x11.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/qdnd_x11.cpp')
-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 607a358..be72799 100644
--- a/src/kernel/qdnd_x11.cpp
+++ b/src/kernel/qdnd_x11.cpp
@@ -611,7 +611,7 @@ void qt_handle_xdnd_position( QWidget *w, const XEvent * xe, bool passive )
if (!passive && checkEmbedded(c, xe))
return;
- if ( !c || !c->acceptDrops() && c->isDesktop() ) {
+ if ( !c || ( !c->acceptDrops() && c->isDesktop() ) ) {
return;
}