Allocating objects in the constructor causes problems
authorDiane Trout <diane@caltech.edu>
Thu, 7 Dec 2006 00:23:14 +0000 (00:23 +0000)
committerDiane Trout <diane@caltech.edu>
Thu, 7 Dec 2006 00:23:14 +0000 (00:23 +0000)
commit68d90f0eac60f549578f2e5fceeff509cfc200ef
tree75a16e1e129dbbfc424b3c1fd7dbd97f8aca004e
parent90c246fb6284a6d191eed079f73c38812092a4b9
Allocating objects in the constructor causes problems
What do you know, being lazy and initializing Qt GUI objects in the
constructor cause problems. (AKA a segfault when running as a test case).

This patch allocates the various GUI objects in an actual function
(which is so the different contstructors can use the same initialization
code.

It looks like another coding standard to remember.
qui/seqbrowser/SequenceDescription.cpp
qui/seqbrowser/SequenceDescription.hpp