From 77dd76a108aeb8fbbcf95ddddee556bba6bf5403 Mon Sep 17 00:00:00 2001 From: thunder2 Date: Tue, 4 Jan 2022 03:03:53 +0100 Subject: [PATCH] Fixed compile with enabled RS_WEBUI --- retroshare-gui/src/gui/settings/rsettingswin.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/retroshare-gui/src/gui/settings/rsettingswin.cpp b/retroshare-gui/src/gui/settings/rsettingswin.cpp index 03494a8b2..4cdd929e5 100644 --- a/retroshare-gui/src/gui/settings/rsettingswin.cpp +++ b/retroshare-gui/src/gui/settings/rsettingswin.cpp @@ -177,7 +177,8 @@ SettingsPage::initStackedWidget() addPage(new SoundPage() ); // SOUND addPage(new ServicePermissionsPage() ); // PERMISSIONS #ifdef RS_JSONAPI - addPage(new JsonApiPage()); + JsonApiPage *jsonapi_p = new JsonApiPage() ; + addPage(jsonapi_p); #ifdef RS_WEBUI WebuiPage *webui_p = new WebuiPage() ; addPage(new WebuiPage() );