acquaman/acquaman — pull request #1105 by davidChevrier (2014-12-17 21:59:47+00:00)
Title: Pull Requet for Issue1022: REIXS Crash bug... in GSE?

I made a bunch of changes all related to layouts and widgets getting new'd with this pointers.

In the first go I handled some places I knew were a problem (AMVerticalStackWidget, AMDataSourceEditor, AMGenericScanEditor).

In the second pass I used grep to find anything else I could. This led to a lot of new finds.

grep -r "new .*Layout(.*this" source/*
grep -r "new .*QPushButton(.*this" source/*
grep -r "new .*QSpinBox(.*this" source/*
grep -r "new .*QLineEdit(.*this" source/*
grep -r "new .*QLabel(.*this" source/*
grep -r "new .*QWidget(.*this" source/*
grep -r "new .*QCheckBox(.*this" source/*
grep -r "new .*QFrame(.*this" source/*
grep -r "new .*QToolButton(.*this" source/*

@dretrex could you go over this carefully. Everything builds and appears to run on my machine just looking at some old SGM data ... but I know that I didn't check all of these classes. Let me know if you find anything really criminal.