mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
set load thread to false for channels on default. Fixed missing () in connect
This commit is contained in:
parent
1dea00d2cb
commit
931ddaef79
@ -33,10 +33,13 @@ ChannelPage::ChannelPage(QWidget * parent, Qt::WindowFlags flags)
|
||||
ui.groupFrameSettingsWidget->setOpenAllInNewTabText(tr("Open each channel in a new tab"));
|
||||
ui.groupFrameSettingsWidget->setType(GroupFrameSettings::Channel) ;
|
||||
|
||||
connect(ui.loadThreadCheckBox,SIGNAL(toggled(bool)),this,SLOT(updateLoadThread)) ;
|
||||
connect(ui.loadThreadCheckBox,SIGNAL(toggled(bool)),this,SLOT(updateLoadThread())) ;
|
||||
}
|
||||
|
||||
void ChannelPage::updateLoadThread() { Settings->setChannelLoadThread(ui.loadThreadCheckBox->isChecked()); }
|
||||
void ChannelPage::updateLoadThread()
|
||||
{
|
||||
Settings->setChannelLoadThread(ui.loadThreadCheckBox->isChecked());
|
||||
}
|
||||
|
||||
ChannelPage::~ChannelPage()
|
||||
{
|
||||
|
@ -1066,7 +1066,7 @@ void RshareSettings::setForumLoadEmoticons(bool value)
|
||||
/* Channel */
|
||||
bool RshareSettings::getChannelLoadThread()
|
||||
{
|
||||
return valueFromGroup("Channel", "LoadThread", true).toBool();
|
||||
return valueFromGroup("Channel", "LoadThread", false).toBool();
|
||||
}
|
||||
|
||||
void RshareSettings::setChannelLoadThread(bool value)
|
||||
|
Loading…
Reference in New Issue
Block a user