diff --git a/CHANGELOG b/CHANGELOG index 9f72c6573..24bf9d9ce 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -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 diff --git a/src/lib/navigation/websearchbar.cpp b/src/lib/navigation/websearchbar.cpp index 1cad06d36..54a97bf82 100644 --- a/src/lib/navigation/websearchbar.cpp +++ b/src/lib/navigation/websearchbar.cpp @@ -1,6 +1,6 @@ /* ============================================================ * QupZilla - WebKit based browser -* Copyright (C) 2010-2012 David Rosca +* Copyright (C) 2010-2013 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 @@ -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) {