summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-05-19 01:23:28 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-05-19 01:23:28 +0200
commite324eb4d8dc3a931bbacae017d4b38c80c930faf (patch)
tree65bdf32d17f262bc87dc26bedf83e20851c43852
parentThis patch is based on Cedric's idea about fixing history with error pages (diff)
downloadrekonq-e324eb4d8dc3a931bbacae017d4b38c80c930faf.tar.xz
Cedric patch about urlbar
-rw-r--r--src/urlbar/urlbar.cpp7
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..")
);
}
}