mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 02:36:34 +01:00
Fixed crash when showing context menu in websearchbar.
This commit is contained in:
parent
df6417af4a
commit
359e1842a0
@ -13,6 +13,7 @@ Version 1.4.0
|
|||||||
* option to switch to tab from locationbar popup completer
|
* option to switch to tab from locationbar popup completer
|
||||||
* use .qupzilla/tmp instead of /tmp for temporary data
|
* use .qupzilla/tmp instead of /tmp for temporary data
|
||||||
* saving passwords should now work for much more sites
|
* saving passwords should now work for much more sites
|
||||||
|
* fixed crash with context menu in websearchbar and locationbar
|
||||||
* fixed loading NYTimes skimmer page
|
* fixed loading NYTimes skimmer page
|
||||||
* fixed cookie domain handling according to RFC 6265
|
* fixed cookie domain handling according to RFC 6265
|
||||||
* fixed qvalue format in Accept-Language HTTP header
|
* fixed qvalue format in Accept-Language HTTP header
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/* ============================================================
|
/* ============================================================
|
||||||
* QupZilla - WebKit based browser
|
* QupZilla - WebKit based browser
|
||||||
* Copyright (C) 2010-2012 David Rosca <nowrep@gmail.com>
|
* Copyright (C) 2010-2013 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
|
||||||
@ -273,8 +273,6 @@ void WebSearchBar::contextMenuEvent(QContextMenuEvent* event)
|
|||||||
|
|
||||||
int i = 0;
|
int i = 0;
|
||||||
foreach(QAction * act, tempMenu->actions()) {
|
foreach(QAction * act, tempMenu->actions()) {
|
||||||
act->setParent(&menu);
|
|
||||||
tempMenu->removeAction(act);
|
|
||||||
menu.addAction(act);
|
menu.addAction(act);
|
||||||
|
|
||||||
switch (i) {
|
switch (i) {
|
||||||
|
Loading…
Reference in New Issue
Block a user