Summary: | Crash when opening popup menu | ||
---|---|---|---|
Product: | [Applications] calligrastage | Reporter: | T Zachmann <t.zachmann> |
Component: | general | Assignee: | Laurent Montel <montel> |
Status: | RESOLVED FIXED | ||
Severity: | crash | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | backtrace of crash |
Description
T Zachmann
2003-03-30 15:50:30 UTC
Created attachment 1272 [details]
backtrace of crash
Subject: koffice/kpresenter CVS commit by faure: Don't disconnect _all_ signals. This includes destroyed(), so QGuardedPtrs don't get notified! CCMAIL: 56622-done@bugs.kde.org M +4 -3 kprcanvas.cc 1.346 --- koffice/kpresenter/kprcanvas.cc #1.345:1.346 @@ -162,7 +162,8 @@ KPrCanvas::KPrCanvas( QWidget *parent, c KPrCanvas::~KPrCanvas() { -// disconnect all signals to avoid crashes on exit - // (exitEditMode) emits signals - disconnect( this, 0, 0, 0 ); + // disconnect signals to avoid crashes on exit + // (exitEditMode emits signals) + disconnect( this, SIGNAL( updateSideBarItem(int) ), 0, 0 ); + disconnect( this, SIGNAL( objectSelectedChanged() ), 0, 0 ); // deactivate possible opened textobject to avoid double deletion, KPTextObject deletes this already |