Got rid of all stupid calles to QString::toStdString.c_str(). Completely unnecessary.