mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +02:00
CUpnpBrowserGui: Fix segfault at neutrino start
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user