Commit 3160ef2c authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

Settings: Improve settings file readability

parent fa9a9720
......@@ -149,6 +149,7 @@ Settings::save() const
return ;
QByteArray settingsContent;
QXmlStreamWriter streamWriter( &settingsContent );
streamWriter.setAutoFormatting( true );
save( streamWriter );
m_settingsFile->open( QFile::WriteOnly );
m_settingsFile->write( settingsContent );
......
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