Merge pull request #254 from ctrlaltca/compilation_warning_246

Fix compilation warning introduced in #246
This commit is contained in:
Gavin Bisesi 2014-08-04 14:37:06 -04:00
commit 9837f8bb18

View file

@ -30,6 +30,7 @@
#include <QIcon> #include <QIcon>
#include <QDir> #include <QDir>
#include <QDesktopServices> #include <QDesktopServices>
#include <QDebug>
#include "main.h" #include "main.h"
#include "window_main.h" #include "window_main.h"
@ -159,7 +160,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().toUtf8() + "/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 #ifdef Q_OS_MAC
if(settingsCache->getHandBgPath().isEmpty() && if(settingsCache->getHandBgPath().isEmpty() &&