Fixes: NB#200879 - Accounts-UI crashes after closing
Fixes: NB#200879 - Accounts-UI crashes after closing

RevBy: John Tapsell

Details:
When using qDebug() from the destructor of a static class the installed
message handler may not be valid anymore. Install a new one to make sure
we do not crash.

nemomobile-graveyard/libmeegotouch,nemomobile-graveyard/libmeegotouch,nemomobile-graveyard/libmeegotouch,nemomobile-graveyard/libmeegotouch,nemomobile-graveyard/libmeegotouch,nemomobile-graveyard/libmeegotouch