summaryrefslogtreecommitdiff
path: root/src/urlbar/rsswidget.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-05-24 16:53:37 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-05-24 16:53:37 +0200
commita3aca253e9310022d13daa05e77572767115b482 (patch)
tree827ef327192d3d30040cb107e16c639afbfa2adc /src/urlbar/rsswidget.cpp
parentMerge commit 'refs/merge-requests/111' of git://gitorious.org/rekonq/mainline... (diff)
parentFix pos of RSS widget when there are long translations. BUG 238640 (diff)
downloadrekonq-a3aca253e9310022d13daa05e77572767115b482.tar.xz
Merge commit 'refs/merge-requests/2273' of git://gitorious.org/rekonq/mainline into m2273
Diffstat (limited to 'src/urlbar/rsswidget.cpp')
-rw-r--r--src/urlbar/rsswidget.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/urlbar/rsswidget.cpp b/src/urlbar/rsswidget.cpp
index 35095c07..ae96dfae 100644
--- a/src/urlbar/rsswidget.cpp
+++ b/src/urlbar/rsswidget.cpp
@@ -115,9 +115,12 @@ RSSWidget::~RSSWidget()
void RSSWidget::showAt(const QPoint &pos)
{
+ adjustSize();
+
QPoint p;
- p.setX(pos.x() - 200);
+ p.setX(pos.x() - width());
p.setY(pos.y() + 10);
+
move(p);
show();
}