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

Fixed crash when showing context menu in websearchbar.

This commit is contained in:
nowrep 2013-01-25 22:42:20 +01:00
parent df6417af4a
commit 359e1842a0
2 changed files with 2 additions and 3 deletions

View File

@ -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

View File

@ -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) {