is now qt5 compatible (qt5 has .toAscii() depricated for QStrings)