From b5d30d51547f22a2f70879a48853b8cec2065df2 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Sun, 27 Jul 2008 15:58:33 +0000 Subject: [PATCH] - Fixed vertical alignements of menus --- 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 104cf5c16..65a4f9067 100644 --- a/src/FinishedTorrents.cpp +++ b/src/FinishedTorrents.cpp @@ -394,7 +394,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,59)); } @@ -410,7 +410,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,32)); } // toggle hide/show a column diff --git a/src/downloadingTorrents.cpp b/src/downloadingTorrents.cpp index fd4346a3e..36f7b7c79 100644 --- a/src/downloadingTorrents.cpp +++ b/src/downloadingTorrents.cpp @@ -311,7 +311,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)); } @@ -327,7 +327,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