Fix crash loading terminal part in Kate and KDevelop.  Incorrect casting tool was used to obtain the terminal interface from the generic part.  This lead to the call to start the terminal actually invoking the the part's destructor instead.  /me puts C++ dunce cap on.
Fix crash loading terminal part in Kate and KDevelop.  Incorrect casting tool was used to obtain the terminal interface from the generic part.  This lead to the call to start the terminal actually invoking the the part's destructor instead.  /me puts C++ dunce cap on.

svn path=/trunk/KDE/kdesdk/kate/; revision=673740

sandsmark/kate,sandsmark/kate,cmacq2/kate,DickJ/kate,hlamer/kate,jfmcarreira/kate,DickJ/kate,hlamer/kate,hlamer/kate,DickJ/kate,hlamer/kate,cmacq2/kate,jfmcarreira/kate,hlamer/kate,hlamer/kate,hlamer/kate,DickJ/kate,sandsmark/kate,sandsmark/kate,hlamer/kate,hlamer/kate,jfmcarreira/kate,cmacq2/kate,hlamer/kate