mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-27 16:39:29 -05:00
added signal blocking calls to a few last config pages
This commit is contained in:
parent
6d67da5ff3
commit
9d3df7c01f
@ -20,6 +20,7 @@
|
|||||||
****************************************************************/
|
****************************************************************/
|
||||||
|
|
||||||
#include "PeoplePage.h"
|
#include "PeoplePage.h"
|
||||||
|
#include "util/misc.h"
|
||||||
#include "rsharesettings.h"
|
#include "rsharesettings.h"
|
||||||
#include "retroshare/rsreputations.h"
|
#include "retroshare/rsreputations.h"
|
||||||
#include "retroshare/rsidentity.h"
|
#include "retroshare/rsidentity.h"
|
||||||
@ -56,9 +57,9 @@ void PeoplePage::load()
|
|||||||
uint32_t threshold_for_positive = rsReputations->thresholdForRemotelyPositiveReputation();
|
uint32_t threshold_for_positive = rsReputations->thresholdForRemotelyPositiveReputation();
|
||||||
uint32_t threshold_for_negative = rsReputations->thresholdForRemotelyNegativeReputation();
|
uint32_t threshold_for_negative = rsReputations->thresholdForRemotelyNegativeReputation();
|
||||||
|
|
||||||
ui.autoPositiveOpinion_CB->setChecked(auto_positive_contacts);
|
whileBlocking(ui.autoPositiveOpinion_CB)->setChecked(auto_positive_contacts);
|
||||||
ui.thresholdForPositive_SB->setValue(threshold_for_positive);
|
whileBlocking(ui.thresholdForPositive_SB)->setValue(threshold_for_positive);
|
||||||
ui.thresholdForNegative_SB->setValue(threshold_for_negative);
|
whileBlocking(ui.thresholdForNegative_SB)->setValue(threshold_for_negative);
|
||||||
ui.deleteBannedIdentitiesAfter_SB->setValue(rsIdentity->deleteBannedNodesThreshold());
|
whileBlocking(ui.deleteBannedIdentitiesAfter_SB)->setValue(rsIdentity->deleteBannedNodesThreshold());
|
||||||
ui.preventReloadingBannedIdentitiesFor_SB->setValue(rsReputations->rememberDeletedNodesThreshold());
|
whileBlocking(ui.preventReloadingBannedIdentitiesFor_SB)->setValue(rsReputations->rememberDeletedNodesThreshold());
|
||||||
}
|
}
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
#include <QDesktopServices>
|
#include <QDesktopServices>
|
||||||
#include <QUrl>
|
#include <QUrl>
|
||||||
|
|
||||||
|
#include "util/misc.h"
|
||||||
#include "api/ApiServer.h"
|
#include "api/ApiServer.h"
|
||||||
#include "api/ApiServerMHD.h"
|
#include "api/ApiServerMHD.h"
|
||||||
#include "api/ApiServerLocal.h"
|
#include "api/ApiServerLocal.h"
|
||||||
@ -63,10 +64,10 @@ bool WebuiPage::updateParams(QString &errmsg)
|
|||||||
void WebuiPage::load()
|
void WebuiPage::load()
|
||||||
{
|
{
|
||||||
std::cerr << "WebuiPage::load()" << std::endl;
|
std::cerr << "WebuiPage::load()" << std::endl;
|
||||||
ui.enableWebUI_CB->setChecked(Settings->getWebinterfaceEnabled());
|
whileBlocking(ui.enableWebUI_CB)->setChecked(Settings->getWebinterfaceEnabled());
|
||||||
onEnableCBClicked(Settings->getWebinterfaceEnabled());
|
onEnableCBClicked(Settings->getWebinterfaceEnabled());
|
||||||
ui.port_SB->setValue(Settings->getWebinterfacePort());
|
whileBlocking(ui.port_SB)->setValue(Settings->getWebinterfacePort());
|
||||||
ui.allIp_CB->setChecked(Settings->getWebinterfaceAllowAllIps());
|
whileBlocking(ui.allIp_CB)->setChecked(Settings->getWebinterfaceAllowAllIps());
|
||||||
}
|
}
|
||||||
|
|
||||||
QString WebuiPage::helpText() const
|
QString WebuiPage::helpText() const
|
||||||
|
Loading…
Reference in New Issue
Block a user