1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 01:22:10 +01:00

[LocationBar] Don't ever set cursor location to start

Probably fixes #1212
This commit is contained in:
nowrep 2014-02-13 02:41:13 +01:00
parent f52d5fa234
commit 884cde6abf

View File

@ -123,7 +123,6 @@ void LocationBar::setText(const QString &text)
{
LineEdit::setText(text);
m_forcePaintEvent = true;
setCursorPosition(0);
}
void LocationBar::updatePlaceHolderText()
@ -435,7 +434,6 @@ void LocationBar::focusOutEvent(QFocusEvent* event)
m_popupClosed = false;
m_forcePaintEvent = true;
setCursorPosition(0);
hideGoButton();
if (text().trimmed().isEmpty()) {