From a1b660daae9dd252d84ec44e8a5102277539b395 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Wed, 12 Dec 2012 18:47:35 +0100 Subject: - Code style check (codestyle script round) - restored CTRL + ENTER code - applied Vedant's patch about (thanks!!!) CCMAIL: vedant.kota@gmail.com REVIEW: 107662 REVIEWED-BY: Tirtha and me --- src/webwindow/rekonqmenu.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/webwindow/rekonqmenu.cpp') diff --git a/src/webwindow/rekonqmenu.cpp b/src/webwindow/rekonqmenu.cpp index a89d883e..4ea01708 100644 --- a/src/webwindow/rekonqmenu.cpp +++ b/src/webwindow/rekonqmenu.cpp @@ -54,10 +54,10 @@ void RekonqMenu::showEvent(QShowEvent* event) int w = width(); QWidget *parentWidget = qobject_cast(parent()); - QPoint widgetGlobalPos = parentWidget->mapToGlobal(QPoint(0,0)); + QPoint widgetGlobalPos = parentWidget->mapToGlobal(QPoint(0, 0)); int pw = parentWidget->width(); int px = widgetGlobalPos.x(); - + QPoint newPosition = QPoint(px + pw - w, y); // Finally, move it there... -- cgit v1.2.1