mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-22 14:10:54 -04:00
added missing removal of event handler in jsonapi and webui settings
This commit is contained in:
parent
034bddf1ef
commit
41069a0fa5
3 changed files with 6 additions and 2 deletions
|
@ -72,6 +72,10 @@ JsonApiPage::JsonApiPage(QWidget */*parent*/, Qt::WindowFlags /*flags*/)
|
|||
mEventHandlerId, RsEventType::JSON_API );
|
||||
}
|
||||
|
||||
JsonApiPage::~JsonApiPage()
|
||||
{
|
||||
rsEvents->unregisterEventsHandler(mEventHandlerId);
|
||||
}
|
||||
QString JsonApiPage::helpText() const
|
||||
{
|
||||
return tr("<h1><img width=\"24\" src=\":/icons/help_64.png\"> Webinterface</h1> \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue