@@ -63,7 +63,7 @@ namespace
63
63
SPDLOG_INFO (" There is a precedent configuration file, upgrading the new one with precedent settings" );
64
64
65
65
// ! Old cfg to ifs
66
- LOG_PATH (" opening file: {}" , precedent_version_cfg_path);
66
+ LOG_PATH (" opening previous version coins file: {}" , precedent_version_cfg_path);
67
67
QFile ifs;
68
68
ifs.setFileName (atomic_dex::std_path_to_qstring (precedent_version_cfg_path));
69
69
ifs.open (QIODevice::Text | QIODevice::ReadOnly);
@@ -72,7 +72,7 @@ namespace
72
72
73
73
// ! New cfg to ifs
74
74
std::filesystem::path actual_version_filepath = cfg_path / (std::string (atomic_dex::get_raw_version ()) + " -coins." s + wallet_name + " .json" s);
75
- LOG_PATH (" opening file: {}" , actual_version_filepath);
75
+ LOG_PATH (" opening new version coins file: {}" , actual_version_filepath);
76
76
QFile actual_version_ifs;
77
77
actual_version_ifs.setFileName (atomic_dex::std_path_to_qstring (actual_version_filepath));
78
78
actual_version_ifs.open (QIODevice::Text | QIODevice::ReadOnly);
@@ -97,13 +97,13 @@ namespace
97
97
}
98
98
}
99
99
100
- LOG_PATH (" closing file: {}" , precedent_version_cfg_path);
100
+ LOG_PATH (" closing old version coins file: {}" , precedent_version_cfg_path);
101
101
ifs.close ();
102
- LOG_PATH (" closing file: {}" , actual_version_filepath);
102
+ LOG_PATH (" closing new version coins file: {}" , actual_version_filepath);
103
103
actual_version_ifs.close ();
104
104
105
105
// ! Write contents
106
- LOG_PATH (" opening file: {}" , actual_version_filepath);
106
+ LOG_PATH (" opening new version file: {}" , actual_version_filepath);
107
107
QFile ofs;
108
108
ofs.setFileName (atomic_dex::std_path_to_qstring (actual_version_filepath));
109
109
ofs.open (QIODevice::Text | QIODevice::WriteOnly);
@@ -116,7 +116,7 @@ namespace
116
116
{
117
117
SPDLOG_ERROR (" error: {}" , ec.message ());
118
118
}
119
- LOG_PATH (" closing file: {}" , actual_version_filepath);
119
+ LOG_PATH (" closing new version file: {}" , actual_version_filepath);
120
120
ofs.close ();
121
121
}
122
122
}
0 commit comments