summaryrefslogtreecommitdiff
path: root/src/webwindow/rekonqmenu.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-12-12 18:47:35 +0100
committerAndrea Diamantini <adjam7@gmail.com>2012-12-12 18:47:35 +0100
commita1b660daae9dd252d84ec44e8a5102277539b395 (patch)
treec4cfc40343592860e985437fb672389719125715 /src/webwindow/rekonqmenu.cpp
parentgetSaveFileName --> getSaveUrl (diff)
downloadrekonq-a1b660daae9dd252d84ec44e8a5102277539b395.tar.xz
- 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
Diffstat (limited to 'src/webwindow/rekonqmenu.cpp')
-rw-r--r--src/webwindow/rekonqmenu.cpp4
1 files changed, 2 insertions, 2 deletions
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<QWidget *>(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...