Remove whitespaces before colon in Qt.