Unconditionally accept the dragEnterEvent.

This fixes erratic drag&drop behavior, as the drag
would be ignored as soon as the enter event is 
ignored.


svn path=/trunk/KDE/kdepim/; revision=763633
wilder-work
Thomas McGuire 18 years ago
parent 262355b4b7
commit 716a536877
  1. 2
      favoritefolderview.cpp
  2. 2
      kmfoldertree.cpp

@ -503,7 +503,7 @@ void FavoriteFolderView::contentsDragEnterEvent(QDragEnterEvent * e)
setDropVisualizer( false );
setDropHighlighter( false );
}
FolderTreeBase::contentsDragEnterEvent( e );
e->accept();
}
void FavoriteFolderView::readColorConfig()

@ -1405,7 +1405,7 @@ void KMFolderTree::contentsDragEnterEvent( QDragEnterEvent *e )
else
dropItem = 0;
e->setAccepted( acceptDrag(e) );
e->setAccepted( true );
}
//-----------------------------------------------------------------------------

Loading…
Cancel
Save