1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 10:46:35 +01:00

SiteIcon: Set Qt::NoFocus focus policy

This commit is contained in:
David Rosca 2018-01-28 11:11:16 +01:00
parent 310f3cfde7
commit c2d7e1eb48
No known key found for this signature in database
GPG Key ID: EBC3FC294452C6D8

View File

@ -1,6 +1,6 @@
/* ============================================================ /* ============================================================
* Falkon - Qt web browser * Falkon - Qt web browser
* Copyright (C) 2010-2014 David Rosca <nowrep@gmail.com> * Copyright (C) 2010-2018 David Rosca <nowrep@gmail.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
@ -38,7 +38,7 @@ SiteIcon::SiteIcon(BrowserWindow* window, LocationBar* parent)
setToolButtonStyle(Qt::ToolButtonIconOnly); setToolButtonStyle(Qt::ToolButtonIconOnly);
setCursor(Qt::ArrowCursor); setCursor(Qt::ArrowCursor);
setToolTip(LocationBar::tr("Show information about this page")); setToolTip(LocationBar::tr("Show information about this page"));
setFocusPolicy(Qt::ClickFocus); setFocusPolicy(Qt::NoFocus);
m_updateTimer = new QTimer(this); m_updateTimer = new QTimer(this);
m_updateTimer->setInterval(100); m_updateTimer->setInterval(100);