update call to notifySettingsChanged() when changing the thread loading of channels

This commit is contained in:
csoler 2017-07-04 23:26:57 +02:00
parent 2aac675f11
commit 5f7df7cb73

View File

@ -22,6 +22,7 @@
#include "ChannelPage.h" #include "ChannelPage.h"
#include "rsharesettings.h" #include "rsharesettings.h"
#include "util/misc.h" #include "util/misc.h"
#include "gui/notifyqt.h"
ChannelPage::ChannelPage(QWidget * parent, Qt::WindowFlags flags) ChannelPage::ChannelPage(QWidget * parent, Qt::WindowFlags flags)
: ConfigPage(parent, flags) : ConfigPage(parent, flags)
@ -39,6 +40,7 @@ ChannelPage::ChannelPage(QWidget * parent, Qt::WindowFlags flags)
void ChannelPage::updateLoadThread() void ChannelPage::updateLoadThread()
{ {
Settings->setChannelLoadThread(ui.loadThreadCheckBox->isChecked()); Settings->setChannelLoadThread(ui.loadThreadCheckBox->isChecked());
NotifyQt::getInstance()->notifySettingsChanged();
} }
ChannelPage::~ChannelPage() ChannelPage::~ChannelPage()