ticket:104 fix some pointer problems with MussaAlignedWindow
authorDiane Trout <diane@caltech.edu>
Fri, 16 Jun 2006 00:33:49 +0000 (00:33 +0000)
committerDiane Trout <diane@caltech.edu>
Fri, 16 Jun 2006 00:33:49 +0000 (00:33 +0000)
commit43df51947281da85b5fc7d0e0d26ca2967d8ef73
treecb1f2fa3845840edaa39e2d07d6cfd27bcd92462
parenta3cf3621f7d675809a3ed46438fdd3082e6c0f8f
ticket:104 fix some pointer problems with MussaAlignedWindow
the vector of MussaAlignedWindow * was having prolems with a double delete.
when a MussaAlignedWindow was open and one tried to load a different
analysis, the code that was closing all of the open windows crashed.

when I found boost::shared_ptr to fix it, I then found a problem
with the Qt trying to delete my shared zoom object which was also
causing a crash. This should have all of that fixed, and as a bonus
the new analysis doesn't have any of the old analysis' selections open.
alg/glseqbrowser.cpp
alg/glseqbrowser.hpp
alg/sequence.hpp
qui/MussaAlignedWindow.cpp
qui/MussaAlignedWindow.hpp
qui/MussaWindow.cpp
qui/MussaWindow.hpp
qui/ZoomWidget.cpp