1
mirror of https://invent.kde.org/network/falkon.git synced 2024-09-21 17:52:10 +02:00

Fix clicking on go icon when location completer popup is visible

Closes #2225
This commit is contained in:
David Rosca 2017-02-20 17:20:00 +01:00
parent 28273f9613
commit e86f96878e

View File

@ -1,6 +1,6 @@
/* ============================================================ /* ============================================================
* QupZilla - WebKit based browser * QupZilla - Qt web browser
* Copyright (C) 2010-2014 David Rosca <nowrep@gmail.com> * Copyright (C) 2010-2017 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
@ -24,6 +24,7 @@ GoIcon::GoIcon(QWidget* parent)
{ {
setObjectName("locationbar-goicon"); setObjectName("locationbar-goicon");
setCursor(Qt::PointingHandCursor); setCursor(Qt::PointingHandCursor);
setFocusProxy(parent);
} }
void GoIcon::contextMenuEvent(QContextMenuEvent* ev) void GoIcon::contextMenuEvent(QContextMenuEvent* ev)