mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-01-01 02:48:05 +01:00
Preventing of google completions when ENTER is hit in location line edit. Added adblock icon.
This commit is contained in:
parent
0cdc250d54
commit
fb52623fb3
BIN
resources/graphics/icons/mini-kfaenza/web-adblock.png
Normal file
BIN
resources/graphics/icons/mini-kfaenza/web-adblock.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.7 KiB |
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user