Browse Source

- Fixed menus vertical alignement

adaptive-webui-19844
Christophe Dumez 16 years ago
parent
commit
bf7b11d87d
  1. 4
      src/FinishedTorrents.cpp
  2. 4
      src/downloadingTorrents.cpp

4
src/FinishedTorrents.cpp

@ -412,7 +412,7 @@ void FinishedTorrents::displayFinishedListMenu(const QPoint& pos){ @@ -412,7 +412,7 @@ void FinishedTorrents::displayFinishedListMenu(const QPoint& pos){
// Call menu
// XXX: why mapToGlobal() is not enough?
myFinishedListMenu.exec(mapToGlobal(pos)+QPoint(10,55));
myFinishedListMenu.exec(mapToGlobal(pos)+QPoint(10,58));
}
@ -434,7 +434,7 @@ void FinishedTorrents::displayFinishedHoSMenu(const QPoint& pos){ @@ -434,7 +434,7 @@ void FinishedTorrents::displayFinishedHoSMenu(const QPoint& pos){
hideshowColumn.addAction(getActionHoSCol(i));
}
// Call menu
hideshowColumn.exec(mapToGlobal(pos)+QPoint(10,55));
hideshowColumn.exec(mapToGlobal(pos)+QPoint(10,34));
}
// toggle hide/show a column

4
src/downloadingTorrents.cpp

@ -322,7 +322,7 @@ void DownloadingTorrents::displayDLListMenu(const QPoint& pos) { @@ -322,7 +322,7 @@ void DownloadingTorrents::displayDLListMenu(const QPoint& pos) {
myDLLlistMenu.addAction(actionBuy_it);
// Call menu
// XXX: why mapToGlobal() is not enough?
myDLLlistMenu.exec(mapToGlobal(pos)+QPoint(10,60));
myDLLlistMenu.exec(mapToGlobal(pos)+QPoint(10,35));
}
@ -344,7 +344,7 @@ void DownloadingTorrents::displayDLHoSMenu(const QPoint& pos){ @@ -344,7 +344,7 @@ void DownloadingTorrents::displayDLHoSMenu(const QPoint& pos){
hideshowColumn.addAction(getActionHoSCol(i));
}
// Call menu
hideshowColumn.exec(mapToGlobal(pos)+QPoint(10,55));
hideshowColumn.exec(mapToGlobal(pos)+QPoint(10,10));
}
// toggle hide/show a column

Loading…
Cancel
Save