Commit 1f111414 authored by René J.V. Bertin's avatar René J.V. Bertin Committed by Milian Wolff
Browse files

Workaround a crash on Mac OS X after finishing code review.

On OS X, kdevelop would crash after clicking on the "Finish Review"
button, at least when the path review tool was started through a
project's git->differences. This crash occurred with the current
stable release (kdevplatform 1.6.0) through the 4.7ß up to and
including kdevplatform git/kde4-legacy.

REVIEW: 120081
BUG: 338829
parent d0e2c4f5
......@@ -302,7 +302,9 @@ private:
PatchReviewPlugin::~PatchReviewPlugin() {
removeHighlighting();
delete m_patch;
// Tweak to work around a crash on OS X; see https://bugs.kde.org/show_bug.cgi?id=338829
// and http://qt-project.org/forums/viewthread/38406/#162801
m_patch->deleteLater();
}
void PatchReviewPlugin::clearPatch( QObject* _patch ) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment