Set current data format version
This commit is contained in:
committed by
Raphael Coeffic
parent
bb1f461225
commit
b071140692
@@ -139,6 +139,8 @@ bool writeModelToYaml(const ModelData& model, QByteArray& data)
|
||||
|
||||
bool writeRadioSettingsToYaml(const GeneralSettings& settings, QByteArray& data)
|
||||
{
|
||||
settings.version = CURRENT_DATA_VERSION;
|
||||
|
||||
YAML::Node node;
|
||||
node = settings;
|
||||
|
||||
|
||||
@@ -27,6 +27,8 @@
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
constexpr unsigned int CURRENT_DATA_VERSION = { 221 };
|
||||
|
||||
typedef std::pair<std::string, int> EtxModelfileCategoryPair;
|
||||
typedef std::list<EtxModelfileCategoryPair> EtxModelfiles;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user