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

[BookmarkIcon] Don't show popup on qupzilla: internal pages

This commit is contained in:
nowrep 2014-01-05 11:01:57 +01:00
parent baa0677d3f
commit 4e8b1839b4

View File

@ -1,6 +1,6 @@
/* ============================================================ /* ============================================================
* QupZilla - WebKit based browser * QupZilla - WebKit based browser
* Copyright (C) 2010-2013 David Rosca <nowrep@gmail.com> * Copyright (C) 2010-2014 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
@ -87,7 +87,7 @@ void BookmarkIcon::speedDialChanged()
void BookmarkIcon::iconClicked() void BookmarkIcon::iconClicked()
{ {
if (!m_view) { if (!m_view || m_view->url().scheme() == QLatin1String("qupzilla")) {
return; return;
} }