From 4e8b1839b4a6aaeae9ebc2fb4dbcd382bdb18c31 Mon Sep 17 00:00:00 2001 From: nowrep Date: Sun, 5 Jan 2014 11:01:57 +0100 Subject: [PATCH] [BookmarkIcon] Don't show popup on qupzilla: internal pages --- src/lib/bookmarks/bookmarkicon.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/bookmarks/bookmarkicon.cpp b/src/lib/bookmarks/bookmarkicon.cpp index 5e4b0a58b..510ffcd29 100644 --- a/src/lib/bookmarks/bookmarkicon.cpp +++ b/src/lib/bookmarks/bookmarkicon.cpp @@ -1,6 +1,6 @@ /* ============================================================ * QupZilla - WebKit based browser -* Copyright (C) 2010-2013 David Rosca +* Copyright (C) 2010-2014 David Rosca * * 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 @@ -87,7 +87,7 @@ void BookmarkIcon::speedDialChanged() void BookmarkIcon::iconClicked() { - if (!m_view) { + if (!m_view || m_view->url().scheme() == QLatin1String("qupzilla")) { return; }