<table><tr><td style="">bruns added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D16643">View Revision</a></tr></table><br /><div><div><p>So if I understand it correctly, the sequence of events is:</p>

<ul class="remarkup-list">
<li class="remarkup-list-item">an object is dragged to the target area</li>
<li class="remarkup-list-item">m_enabled is initially false</li>
<li class="remarkup-list-item">m_enabled becomes true because the object is acceptable</li>
<li class="remarkup-list-item">the mouse is moved, but the <em>integer</em> position probably is unchanged, so the event is ignored/rejected</li>
</ul>

<p>In any  case, I think the <tt style="background: #ebebeb; font-size: 13px;">setAccepted(m_enabled)</tt> should go below the first <tt style="background: #ebebeb; font-size: 13px;">if</tt> statement, and as <tt style="background: #ebebeb; font-size: 13px;">m_enabled == true</tt> holds afterwards, you can use <tt style="background: #ebebeb; font-size: 13px;">event->accept()</tt>.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R296 KDeclarative</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D16643">https://phabricator.kde.org/D16643</a></div></div><br /><div><strong>To: </strong>trmdi, mart, broulik, Plasma, hein, davidedmundson<br /><strong>Cc: </strong>bruns, dkorth, ngraham, kde-frameworks-devel, michaelh<br /></div>