Summary: | Juk crashes when adding items to toolbar via menu right-click | ||
---|---|---|---|
Product: | [Applications] juk | Reporter: | ean5533 |
Component: | general | Assignee: | Scott Wheeler <wheeler> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | mpyne, rakuco |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 4.6.5 | |
Sentry Crash Report: |
Description
ean5533
2010-12-03 03:03:38 UTC
Can you still reproduce this crash? I no longer have KDE or Juk installed, so I can't test it again. I no longer have KDE or Juk installed, so I can't test it again. SVN commit 1237516 by kylafas: juk: fix crash when adding items to toolbars with RMB. When adding an item to a toolbar using right-click, the KXMLGUIClient object of the global action collection is accessed. (see KMenuMenuHandler::slotAddToToolBar() ) The way the action collection was created meant the object was NULL, which resulted in crashes. So, create the action collection with KXMLGUIClient::actionCollection(), which properly sets the object. CCBUG: 258641 M +11 -2 actioncollection.cpp M +0 -5 juk.cpp M +0 -1 juk.h WebSVN link: http://websvn.kde.org/?view=rev&revision=1237516 SVN commit 1238534 by kylafas: juk: fix crash when adding items to toolbars with RMB. When adding an item to a toolbar using right-click, the KXMLGUIClient object of the global action collection is accessed. (see KMenuMenuHandler::slotAddToToolBar() ) The way the action collection was created meant the object was NULL, which resulted in crashes. So, create the action collection with KXMLGUIClient::actionCollection(), which properly sets the object. This is a backport of r1237516 from trunk to branch 4.6 (KDE SC 4.6.5). BUG: 258641 FIXED-IN: 4.6.5 M +11 -2 actioncollection.cpp M +0 -5 juk.cpp M +0 -1 juk.h WebSVN link: http://websvn.kde.org/?view=rev&revision=1238534 |