mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-20 21:29:01 -04:00
fixed interactions between webui and jsonapi in GUI
This commit is contained in:
parent
6878a7773d
commit
9491f1a78e
10 changed files with 94 additions and 27 deletions
|
@ -164,12 +164,15 @@ SettingsPage::initStackedWidget()
|
|||
addPage(new AppearancePage()); // APPEARENCE
|
||||
addPage(new SoundPage() ); // SOUND
|
||||
addPage(new ServicePermissionsPage() ); // PERMISSIONS
|
||||
#ifdef RS_WEBUI
|
||||
addPage(new WebuiPage() );
|
||||
#endif
|
||||
|
||||
#ifdef RS_JSONAPI
|
||||
JsonApiPage *jsonapi_p = new JsonApiPage() ;
|
||||
addPage(new JsonApiPage());
|
||||
#ifdef RS_WEBUI
|
||||
WebuiPage *webui_p = new WebuiPage() ;
|
||||
addPage(new WebuiPage() );
|
||||
|
||||
QObject::connect(webui_p,SIGNAL(passwordChanged()),jsonapi_p,SLOT(load()));
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// add widgets from plugins
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue