Summary: | kdevdesigner crashes loading multiple ui files | ||
---|---|---|---|
Product: | [Applications] kdevelop | Reporter: | Weiland <weiland> |
Component: | general | Assignee: | KDevelop Developers <kdevelop-devel> |
Status: | RESOLVED FIXED | ||
Severity: | crash | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Weiland
2004-06-11 18:00:57 UTC
Verified. CVS commit by dagerbo: When there is already a kdevdesigner part loaded, the "old msghandler" is actually the same as the one of the current part due to it being a static function. Avoid recursively calling self and eventually crash, instead just let the error through to stderr CCMAIL: 83227-done@bugs.kde.org M +1 -1 outputwindow.cpp 1.2 --- kdevelop/kdevdesigner/designer/outputwindow.cpp #1.1:1.2 @@ -99,5 +99,5 @@ static void debugMessageOutput( QtMsgTyp if ( debugoutput && debugoutput->isVisible() ) debugoutput->append( s ); - else if ( OutputWindow::oldMsgHandler ) + else if ( OutputWindow::oldMsgHandler && OutputWindow::oldMsgHandler != debugMessageOutput ) (*OutputWindow::oldMsgHandler)( type, msg ); else |