bruns added a comment.
In D16643#353669 <https://phabricator.kde.org/D16643#353669>, @trmdi wrote: > @bruns > If `setAccepted` goes below the first if: > > - if there is a change that make m_enabled change from true -> false while moving, the cursor still display the draggable icon > > So I let it be on the top to make the cursor be able to change the icon to forbidden one right away. No. The event loop is running in a single thread. m_enabled is constant during the function. REPOSITORY R296 KDeclarative REVISION DETAIL https://phabricator.kde.org/D16643 To: trmdi, mart, broulik, #plasma, hein, davidedmundson Cc: bruns, dkorth, ngraham, kde-frameworks-devel, michaelh