mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-09 06:38:36 +02:00
Revert "gui/dboxinfo.cpp: add serial number to title"
This reverts commit 6bcb85fa07
.
This commit is contained in:
@@ -46,7 +46,6 @@
|
|||||||
#include <driver/record.h>
|
#include <driver/record.h>
|
||||||
|
|
||||||
#include <zapit/femanager.h>
|
#include <zapit/femanager.h>
|
||||||
#include <cs_api.h>
|
|
||||||
|
|
||||||
#include <sys/sysinfo.h>
|
#include <sys/sysinfo.h>
|
||||||
#include <sys/vfs.h>
|
#include <sys/vfs.h>
|
||||||
@@ -354,11 +353,6 @@ void CDBoxInfoWidget::paint()
|
|||||||
title += g_info.hw_caps->boxvendor;
|
title += g_info.hw_caps->boxvendor;
|
||||||
title += " ";
|
title += " ";
|
||||||
title += g_info.hw_caps->boxname;
|
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);
|
CComponentsHeader header(x, ypos, width, hheight, title, NEUTRINO_ICON_SHELL);
|
||||||
header.paint(CC_SAVE_SCREEN_NO);
|
header.paint(CC_SAVE_SCREEN_NO);
|
||||||
|
Reference in New Issue
Block a user