Don't assume success for TTS object creation.
commit7f76bb48b352984c4de8f40509618763e39f181f
authorDominik Riebeling <Dominik.Riebeling@gmail.com>
Sat, 6 Oct 2012 10:42:20 +0000 (6 12:42 +0200)
committerDominik Riebeling <Dominik.Riebeling@gmail.com>
Sat, 6 Oct 2012 11:53:09 +0000 (6 13:53 +0200)
tree051d788b3dd466bbc560de3dc96d271c9f768343
parenta2dd1625bcfb1272cb711dc35896924817af3c0c
Don't assume success for TTS object creation.

While the current implementation of getTTS() will always return an object this
might change later. Check the returned object before using it to be on the safe
side.

Change-Id: Ic949cae7cfbe6f3086dee6aab741b0acafe14640
rbutil/rbutilqt/base/talkgenerator.cpp
rbutil/rbutilqt/configure.cpp
rbutil/rbutilqt/createvoicewindow.cpp
rbutil/rbutilqt/installtalkwindow.cpp