Use qPrintable instead of going through constData
Reviewers: dfaure
Reviewed By: dfaure
Differential Revision: https://phabricator.kde.org/D6306