Does "line" in line #8 contain a correctly decoded string? Please verify the string and not its output to the console using qDebug.