CUpnpBrowserGui: Fix segfault at neutrino start

This commit is contained in:
M. Liebmann
2016-08-16 15:08:49 +02:00
parent be469d3549
commit b015f65d4c

View File

@@ -73,8 +73,6 @@ CUpnpBrowserGui::CUpnpBrowserGui()
Init(); Init();
font_item = SNeutrinoSettings::FONT_TYPE_MENU;
dline = NULL; dline = NULL;
image = NULL; image = NULL;
@@ -87,6 +85,8 @@ CUpnpBrowserGui::CUpnpBrowserGui()
void CUpnpBrowserGui::Init() void CUpnpBrowserGui::Init()
{ {
font_item = SNeutrinoSettings::FONT_TYPE_MENU;
topbox.enableFrame(true, 2); topbox.enableFrame(true, 2);
topbox.setCorner(RADIUS_LARGE); topbox.setCorner(RADIUS_LARGE);
topbox.setColorAll(COL_MENUCONTENT_PLUS_6, COL_MENUHEAD_PLUS_0, COL_MENUCONTENTDARK_PLUS_0, COL_MENUHEAD_TEXT); topbox.setColorAll(COL_MENUCONTENT_PLUS_6, COL_MENUHEAD_PLUS_0, COL_MENUCONTENTDARK_PLUS_0, COL_MENUHEAD_TEXT);