mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
removed "Load Channel In Background" button that is now irrelevant
This commit is contained in:
parent
9c11b21ee7
commit
d691454d57
@ -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"));
|
||||
|
@ -42,9 +42,6 @@ public:
|
||||
private slots:
|
||||
void updateEmotes();
|
||||
|
||||
protected slots:
|
||||
void updateLoadThread() ;
|
||||
|
||||
private:
|
||||
Ui::ChannelPage ui;
|
||||
};
|
||||
|
@ -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">
|
||||
|
Loading…
Reference in New Issue
Block a user