diff options
Diffstat (limited to 'src/webwindow/rekonqmenu.cpp')
-rw-r--r-- | src/webwindow/rekonqmenu.cpp | 4 |
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... |