CUpnpBrowserGui: Fix segfault at neutrino start

Origin commit data
------------------
Branch: ni/coolstream
Commit: b015f65d4c
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-08-16 (Tue, 16 Aug 2016)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Michael Liebmann
2016-08-16 15:08:49 +02:00
parent 410e2d5d2e
commit 7ad04029de

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);