Changed the use of the deprecated QString::fromAscii/toAscii to fromLatin1/toLatin1.

The ASCII versions no longer compile in my version of Qt 5.0.0.

The Qt documentation states:
"QString QString::fromAscii(const char * str, int size = -1) [static]
This function is deprecated.
[...]
This function does the same as fromLatin1()."