fix potential crash
ClosedPublic

Authored by sandsmark on Jun 19 2018, 7:53 PM.

Details

Reviewers
hindenburg
tcanabrava
Group Reviewers
Konsole
Summary

revert the change to allocate the dialog on the stack, the original code was that way for a reason:

https://blogs.kde.org/2009/03/26/how-crash-almost-every-qtkde-application-and-how-fix-it-0

there's some other minor issues with the patch set, but I don't think they're going to cause crashes.

Diff Detail

Repository
R319 Konsole
Lint
Lint Skipped
Unit
Unit Tests Skipped
sandsmark created this revision.Jun 19 2018, 7:53 PM
Restricted Application added a project: Konsole. · View Herald TranscriptJun 19 2018, 7:53 PM
Restricted Application added a subscriber: konsole-devel. · View Herald Transcript
sandsmark requested review of this revision.Jun 19 2018, 7:53 PM
hindenburg added a comment.EditedJun 20 2018, 12:26 AM

I recall this now - I wonder if this is still true 9+ years later. If we revert, let's at least add a comment about this issue in the code

hindenburg accepted this revision.Jun 22 2018, 10:45 AM

For now, let's just revert and we can look at this later if needed.

This revision is now accepted and ready to land.Jun 22 2018, 10:45 AM
hindenburg closed this revision.Jun 22 2018, 10:57 AM

I just used git revert as it was easier 033d90a0d37eff41619fdaa5c4772f1a04452798