Preventing of google completions when ENTER is hit in location line edit. Added adblock icon.

This commit is contained in:
Martin Rotter 2015-06-16 14:49:11 +02:00
parent 0cdc250d54
commit fb52623fb3
2 changed files with 1 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

View File

@ -25,6 +25,7 @@
LocationLineEdit::LocationLineEdit(QWidget *parent)
: BaseLineEdit(parent), m_mouseSelectsAllText(true), m_googleSuggest(new GoogleSuggest(this)) {
setPlaceholderText(tr("Website address goes here"));
connect(this, SIGNAL(submitted(QString)), m_googleSuggest, SLOT(preventSuggest()));
}
LocationLineEdit::~LocationLineEdit() {