mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 01:22:10 +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
|
||||
* use .qupzilla/tmp instead of /tmp for temporary data
|
||||
* saving passwords should now work for much more sites
|
||||
* fixed crash with context menu in websearchbar and locationbar
|
||||
* fixed loading NYTimes skimmer page
|
||||
* fixed cookie domain handling according to RFC 6265
|
||||
* fixed qvalue format in Accept-Language HTTP header
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ============================================================
|
||||
* 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
|
||||
* 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;
|
||||
foreach(QAction * act, tempMenu->actions()) {
|
||||
act->setParent(&menu);
|
||||
tempMenu->removeAction(act);
|
||||
menu.addAction(act);
|
||||
|
||||
switch (i) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user