[Konsole-devel] [Bug 233377] Crash after right click in the terminal area [detach*, QList<QWidget*>::removeAll, QWidget::removeAction, Konsole::SessionController::showDisplayContextMenu]

Grissiom chaos.proton at gmail.com
Tue Sep 6 12:42:08 UTC 2011


https://bugs.kde.org/show_bug.cgi?id=233377


Grissiom <chaos.proton at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |chaos.proton at gmail.com




--- Comment #19 from Grissiom <chaos proton gmail com>  2011-09-06 12:42:08 ---
Actually, that commit will not delete contentSeparator if popup menu got
destroyed early. Thus cause a memory leak. I think the right thing is connect
QMenu's destroy signal to that cleanup codes. But to achieve that, I think we
need to pass contentActions to that function. That will lead to ugly code I
think.

Is there a way to use lambda function in this situation? ;P

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the konsole-devel mailing list