Commit e48cdf73 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen
Browse files

SettingsFile: Indent the setting files for debug builds

parent c71c0f8e
......@@ -138,7 +138,11 @@ Settings::save()
doc.setObject( top );
m_settingsFile->open( QFile::WriteOnly );
#ifdef NDEBUG
m_settingsFile->write( doc.toJson( QJsonDocument::Compact ) );
#else
m_settingsFile->write( doc.toJson( QJsonDocument::Indented ) );
#endif
m_settingsFile->close();
return true;
}
......
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