From e38e24e2c6c56ac714271be203864b71e444b339 Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Sun, 13 Dec 2015 17:45:06 +0100 Subject: [PATCH] Revert "gui/dboxinfo.cpp: add serial number to title" This reverts commit 87c2b3ed74e5c487473d49d9c8958fd884773f94. Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/530da9abeb68a0b99946f23c40800df5d7c82184 Author: Stefan Seyfried Date: 2015-12-13 (Sun, 13 Dec 2015) --- src/gui/dboxinfo.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/gui/dboxinfo.cpp b/src/gui/dboxinfo.cpp index 915eb8fec..e590a4c24 100644 --- a/src/gui/dboxinfo.cpp +++ b/src/gui/dboxinfo.cpp @@ -46,7 +46,6 @@ #include #include -#include #include #include @@ -354,11 +353,6 @@ void CDBoxInfoWidget::paint() title += g_info.hw_caps->boxvendor; title += " "; title += g_info.hw_caps->boxname; - char ss[17]; - sprintf(ss, "%016llx", cs_get_serial()); - title += ", S/N "; - title += ss; - width = max(width, g_Font[SNeutrinoSettings::FONT_TYPE_MENU_TITLE]->getRenderWidth(title, true)); CComponentsHeader header(x, ypos, width, hheight, title, NEUTRINO_ICON_SHELL); header.paint(CC_SAVE_SCREEN_NO);