Commit c9fe1ffd authored by Stefano Crocco's avatar Stefano Crocco
Browse files

Give focus to location bar on startup

Summary:
Ensure that at startup the focus is given to the location bar when
opening the default page.

Test Plan:
Launch Konqueror (with the default setting for the start URL ) and
check that the location bar has focus.

Reviewers: dfaure

Reviewed By: dfaure

Differential Revision: https://phabricator.kde.org/D26414
parent 64f94b6b
......@@ -483,7 +483,7 @@ bool WebEnginePart::openFile()
void WebEnginePart::slotLoadStarted()
{
if(!Utils::isBlankUrl(url()))
if(!Utils::isBlankUrl(url()) && url() != QUrl("konq:konqueror"))
{
emit started(nullptr);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment