removed "Load Channel In Background" button that is now irrelevant

This commit is contained in:
csoler 2020-09-08 21:04:35 +02:00
parent 9c11b21ee7
commit d691454d57
3 changed files with 0 additions and 18 deletions

View File

@ -33,17 +33,10 @@ 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.emoteicon_checkBox,SIGNAL(toggled(bool)),this,SLOT(updateEmotes())) ;
}
void ChannelPage::updateLoadThread()
{
Settings->setChannelLoadThread(ui.loadThreadCheckBox->isChecked());
NotifyQt::getInstance()->notifySettingsChanged();
}
ChannelPage::~ChannelPage()
{
}
@ -51,7 +44,6 @@ ChannelPage::~ChannelPage()
/** Loads the settings for this page */
void ChannelPage::load()
{
whileBlocking(ui.loadThreadCheckBox)->setChecked(Settings->getChannelLoadThread());
ui.groupFrameSettingsWidget->loadSettings(GroupFrameSettings::Channel);
Settings->beginGroup(QString("ChannelPostsWidget"));

View File

@ -42,9 +42,6 @@ public:
private slots:
void updateEmotes();
protected slots:
void updateLoadThread() ;
private:
Ui::ChannelPage ui;
};

View File

@ -29,13 +29,6 @@
<string>General</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QCheckBox" name="loadThreadCheckBox">
<property name="text">
<string>Load posts in background (Thread)</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="emoteicon_checkBox">
<property name="text">