Commit 1f93ce59 authored by DonLakeFlyer's avatar DonLakeFlyer

Fix cast

parent da1296ef
......@@ -66,7 +66,7 @@ AppSettings::AppSettings(QObject* parent)
// Instantiate savePath so we can check for override and setup default path if needed
Fact* savePathFact = savePath();
SettingsFact* savePathFact = qobject_cast<SettingsFact*>(savePath());
QString appName = qgcApp()->applicationName();
if (savePathFact->rawValue().toString().isEmpty() && _nameToMetaDataMap[savePathName]->rawDefaultValue().toString().isEmpty()) {
#ifdef __mobile__
......
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