If it was at the end of qDebug/qCritical/etc, just remove it, those already have a newline at the end The other few convert them to \n