From b015f65d4c0a9dc887f12660488ed7e93e6e006d Mon Sep 17 00:00:00 2001 From: "M. Liebmann" Date: Tue, 16 Aug 2016 15:08:49 +0200 Subject: [PATCH] CUpnpBrowserGui: Fix segfault at neutrino start --- src/gui/upnpbrowser.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/upnpbrowser.cpp b/src/gui/upnpbrowser.cpp index 5d5686795..0afb9803c 100644 --- a/src/gui/upnpbrowser.cpp +++ b/src/gui/upnpbrowser.cpp @@ -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);