Commit b3fa99ef authored by Peng Liu's avatar Peng Liu
Browse files

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

parent 077d9f27
...@@ -159,7 +159,7 @@ int main(int argc, char *argv[]) ...@@ -159,7 +159,7 @@ int main(int argc, char *argv[])
settingsCache->setPicsPath(dataDir + "/pics"); settingsCache->setPicsPath(dataDir + "/pics");
} }
if (!QDir().mkpath(settingsCache->getPicsPath() + "/CUSTOM")) 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 #ifdef Q_OS_MAC
if(settingsCache->getHandBgPath().isEmpty() && if(settingsCache->getHandBgPath().isEmpty() &&
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment