diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-05-19 01:23:28 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-05-19 01:23:28 +0200 |
commit | e324eb4d8dc3a931bbacae017d4b38c80c930faf (patch) | |
tree | 65bdf32d17f262bc87dc26bedf83e20851c43852 /src/urlbar | |
parent | This patch is based on Cedric's idea about fixing history with error pages (diff) | |
download | rekonq-e324eb4d8dc3a931bbacae017d4b38c80c930faf.tar.xz |
Cedric patch about urlbar
Diffstat (limited to 'src/urlbar')
-rw-r--r-- | src/urlbar/urlbar.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/urlbar/urlbar.cpp b/src/urlbar/urlbar.cpp index 06d281e1..6ec461a2 100644 --- a/src/urlbar/urlbar.cpp +++ b/src/urlbar/urlbar.cpp @@ -90,6 +90,9 @@ UrlBar::UrlBar(QWidget *parent) // insert decoded URLs setUrlDropsEnabled(true); + // tooltip + setToolTip(i18n("Type here to search your bookmarks, history and the web..")); + // accept focus, via tabbing, clicking & wheeling setFocusPolicy(Qt::WheelFocus); @@ -194,8 +197,8 @@ void UrlBar::paintEvent(QPaintEvent *event) QPainter painter(this); painter.setPen(Qt::gray); painter.drawText(textRect, - Qt::AlignCenter, - i18n("Start typing here to search your bookmarks, history and the web...") + Qt::AlignVCenter | Qt::AlignCenter, + i18n("Type here to search your bookmarks, history and the web..") ); } } |