aboutsummaryrefslogtreecommitdiffstats
path: root/src/m_ver_check/VersionCheckTask.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/m_ver_check/VersionCheckTask.cpp')
-rw-r--r--src/m_ver_check/VersionCheckTask.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/m_ver_check/VersionCheckTask.cpp b/src/m_ver_check/VersionCheckTask.cpp
index d9e5d5e..271e932 100644
--- a/src/m_ver_check/VersionCheckTask.cpp
+++ b/src/m_ver_check/VersionCheckTask.cpp
@@ -179,7 +179,9 @@ void VersionCheckTask::slot_parse_current_tag_info(QNetworkReply* reply) {
}
auto sha = object["sha"].toString();
- version_meta_data_.remote_commit_hash_by_tag = sha;
+ version_meta_data_.remote_commit_hash_by_tag = sha.trimmed();
+ FLOG_DEBUG("got remote commit hash: %1",
+ version_meta_data_.remote_commit_hash_by_tag);
}
void VersionCheckTask::slot_fill_grt_with_version_info(