From bf7b11d87d55ed8898016bc2f8896f13c09ecb69 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Sun, 27 Jul 2008 15:51:14 +0000 Subject: [PATCH] - Fixed menus vertical alignement --- src/FinishedTorrents.cpp | 4 ++-- src/downloadingTorrents.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/FinishedTorrents.cpp b/src/FinishedTorrents.cpp index d8bd157bb..fb6c7c3a4 100644 --- a/src/FinishedTorrents.cpp +++ b/src/FinishedTorrents.cpp @@ -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){ 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 diff --git a/src/downloadingTorrents.cpp b/src/downloadingTorrents.cpp index 57f0b39c8..9e489cc52 100644 --- a/src/downloadingTorrents.cpp +++ b/src/downloadingTorrents.cpp @@ -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){ 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