Deleted unused QDebug, added check to see if text is valid on start and...

Deleted unused QDebug, added check to see if text is valid on start and changed m_formatted to be consistent
Status Job ID Name Coverage
  Build
canceled #15787
build_ubuntu_18_04

canceled #15786
linux kf5-qt5 qt5.12