Commit 47d93de0 authored by Daniel Agar's avatar Daniel Agar

switch documentsDir.exists() assert to QWarning

parent a70e22a9
......@@ -391,7 +391,9 @@ void QGCApplication::_initCommon(void)
QString documentsLocation = QStandardPaths::writableLocation(QStandardPaths::DocumentsLocation);
QDir documentsDir(documentsLocation);
if (!documentsDir.exists()) {
qWarning() << "Documents directory doesn't exist" << documentsDir.absolutePath();
bool pathCreated = documentsDir.mkpath(_defaultSavedFileDirectoryName);
Markdown is supported
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