removed misplaced auto-download from subscribe button, and enable/disable subscribe for distant search results

This commit is contained in:
csoler 2020-10-26 20:46:50 +01:00
parent 874e095ee8
commit b74e6dbe42
2 changed files with 38 additions and 18 deletions

View file

@ -144,7 +144,7 @@ private slots:
void updateGroupData();
void download();
void createMsg();
void toggleAutoDownload();
// void toggleAutoDownload();
void subscribeGroup(bool subscribe);
void filterChanged(QString);
void settingsChanged();
@ -168,14 +168,16 @@ private:
RsGxsMessageId getCurrentItemId() const;
void selectItem(const RsGxsMessageId& msg_id);
void setAutoDownload(bool autoDl);
// void setAutoDownload(bool autoDl);
static bool filterItem(FeedItem *feedItem, const QString &text, int filter);
void insertChannelDetails(const RsGxsChannelGroup &group);
void handleEvent_main_thread(std::shared_ptr<const RsEvent> event);
private:
QAction *mAutoDownloadAction;
void setSubscribeButtonText(const RsGxsGroupId& group_id,uint32_t flags);
// QAction *mAutoDownloadAction;
RsGxsChannelGroup mGroup;
bool mUseThread;