From 7c2bcd3f0ebfe0bc5e903f28c075e176d7144e9e Mon Sep 17 00:00:00 2001 From: vanhofen Date: Fri, 26 Aug 2016 23:45:33 +0200 Subject: [PATCH] imageinfo_ni: remove remote-commit info Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/5dd55a6d5800dca74aa16f29752957ed19e91bd4 Author: vanhofen Date: 2016-08-26 (Fri, 26 Aug 2016) Origin message was: ------------------ - imageinfo_ni: remove remote-commit info --- src/gui/imageinfo_ni.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/gui/imageinfo_ni.cpp b/src/gui/imageinfo_ni.cpp index 0f716f01e..62ee28ff4 100644 --- a/src/gui/imageinfo_ni.cpp +++ b/src/gui/imageinfo_ni.cpp @@ -246,7 +246,6 @@ void CImageInfoNI::paint() const char * creator = config.getString("creator", "NI-Team").c_str(); const char * version = config.getString("version", "no version").c_str(); const char * origin_commit = config.getString("origin-commit", "no commit").c_str(); - const char * remote_commit = config.getString("remote-commit", "no commit").c_str(); const char * builddate = config.getString("builddate", "no builddate").c_str(); static CFlashVersionInfo versionInfo(version); @@ -255,7 +254,7 @@ void CImageInfoNI::paint() struct utsname uts_info; imageversion << releaseCycle << " (" << versionInfo.getType() << ")"; - commits << "NI: " << origin_commit << ", CST: " << remote_commit; + commits << "NI: " << origin_commit; ypos += iheight; paintLine(xpos , font_info, g_Locale->getText(LOCALE_IMAGEINFO_IMAGE)); @@ -266,7 +265,7 @@ void CImageInfoNI::paint() paintLine(xpos+offset, font_info, imageversion.str().c_str()); ypos += iheight; - paintLine(xpos , font_info, "Commits:"); + paintLine(xpos , font_info, "Commit:"); paintLine(xpos+offset, font_info, commits.str().c_str()); ypos += iheight;