I was too hasty and forgot a + and to toLatin1() a QString in the qDebug arg.

This commit is contained in:
Peng Liu 2014-07-31 23:04:30 -04:00
parent 077d9f2745
commit b3fa99ef36

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() + "/CUSTOM. Will fall back on default card images.");
qDebug("Could not create " + settingsCache->getPicsPath().toLatin1() + "/CUSTOM. Will fall back on default card images.");
#ifdef Q_OS_MAC
if(settingsCache->getHandBgPath().isEmpty() &&