Commit 86912e3a authored by Don Gagne's avatar Don Gagne

Assert -> qWarning

I think the assert caused boot crashes at some times
parent 9f86fc06
......@@ -308,7 +308,9 @@ QGCApplication::QGCApplication(int &argc, char* argv[], bool unitTesting)
qDebug() << "Settings location" << settings.fileName() << settings.isWritable();
#ifdef UNITTEST_BUILD
Q_ASSERT(settings.isWritable());
if (!settings.isWritable()) {
qWarning() << "Setings location is not writable";
}
#endif
// The setting will delete all settings on this boot
fClearSettingsOptions |= settings.contains(_deleteAllSettingsKey);
......
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