Changed .toLatin1() to .toUtf8().

This commit is contained in:
Peng Liu 2014-08-02 23:44:31 -04:00
parent b3fa99ef36
commit a9eaf65a82

View file

@ -159,7 +159,7 @@ int main(int argc, char *argv[])
settingsCache->setPicsPath(dataDir + "/pics");
}
if (!QDir().mkpath(settingsCache->getPicsPath() + "/CUSTOM"))
qDebug("Could not create " + settingsCache->getPicsPath().toLatin1() + "/CUSTOM. Will fall back on default card images.");
qDebug("Could not create " + settingsCache->getPicsPath().toUtf8() + "/CUSTOM. Will fall back on default card images.");
#ifdef Q_OS_MAC
if(settingsCache->getHandBgPath().isEmpty() &&