Tidying config init methods

This commit is contained in:
Nav
2021-10-26 22:28:57 +01:00
parent e2c4dcb97f
commit db74d8f3fd
2 changed files with 10 additions and 10 deletions

View File

@@ -47,7 +47,7 @@ namespace Bloom
*
* @param jsonObject
*/
void init(QJsonObject jsonObject);
void init(const QJsonObject& jsonObject);
/**
* The name of the selected target.
@@ -78,7 +78,7 @@ namespace Bloom
*
* @param jsonObject
*/
void init(QJsonObject jsonObject);
void init(const QJsonObject& jsonObject);
/**
* The name of the selected debug tool.
@@ -107,7 +107,7 @@ namespace Bloom
*
* @param jsonObject
*/
void init(QJsonObject jsonObject);
void init(const QJsonObject& jsonObject);
std::string name;
QJsonObject jsonObject;
@@ -120,7 +120,7 @@ namespace Bloom
*
* @param jsonObject
*/
void init(QJsonObject jsonObject);
void init(const QJsonObject& jsonObject);
bool insightEnabled = true;
};
@@ -183,7 +183,7 @@ namespace Bloom
*
* @param jsonObject
*/
void init(QJsonObject jsonObject);
void init(const QJsonObject& jsonObject);
/**
* A mapping of environment names to EnvironmentConfig objects.