CUpnpBrowserGui: Fix segfault at neutrino start

Origin commit data
------------------
Commit: b015f65d4c
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-08-16 (Tue, 16 Aug 2016)
This commit is contained in:
Michael Liebmann
2016-08-16 15:08:49 +02:00
parent 317286e9ad
commit 031b190d4c

View File

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