Fixing the popup positioning problem, as noted by Ingo and waiting for

a decision on what to do with the dialog (remove or use Ingo's proposed
solution)

svn path=/trunk/kdenetwork/kmail/; revision=152851
wilder-work
Zack Rusin 24 years ago
parent 0434baecac
commit 96e4b6adee
  1. 2
      kmfoldertree.cpp

@ -1151,7 +1151,7 @@ void KMFolderTree::contentsDropEvent( QDropEvent *e )
menu->insertItem( i18n("Move"), DRAG_MOVE, 1 );
menu->insertSeparator();
menu->insertItem( i18n("Cancel"), DRAG_CANCEL, 3 );
int id = menu->exec( mapToGlobal(e->pos()), 0 );
int id = menu->exec( QCursor::pos(), 0 );
switch(id) {
case DRAG_COPY:
emit folderDropCopy(fti->folder);

Loading…
Cancel
Save