Commit 3e66a413 authored by Don Gagne's avatar Don Gagne

Merge pull request #2380 from DonLakeFlyer/SettingsAssert

Assert -> qWarning
parents 03e24506 86912e3a
......@@ -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