Why was this the other thing

School is over next week yay freedom. I'll be able to come back and do actual and active development.
This commit is contained in:
ArsenArsen 2017-05-22 18:23:45 +02:00
parent 91aa7badc6
commit 1e5a5c2485
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ UploaderSingleton::UploaderSingleton()
}
if (!saveDir.exists()) {
if (!saveDir.mkpath(".")) {
qFatal("Could not create the path %s to store images in!", saveDir.absoluteFilePath(".").toLocal8Bit().constData());
qFatal("Could not create the path %s to store images in!", saveDir.absolutePath().toLocal8Bit().constData());
}
}
QDir configDir(QStandardPaths::writableLocation(QStandardPaths::GenericConfigLocation));