Added a new setting to channels to enable/disable threaded loading.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7484 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2014-08-06 17:41:22 +00:00
parent 27c2ed0a97
commit f60b37a213
7 changed files with 83 additions and 24 deletions

View file

@ -71,7 +71,7 @@ protected:
virtual void insertPosts(const uint32_t &token, GxsMessageFramePostThread *thread);
virtual void insertRelatedPosts(const uint32_t &token);
virtual void clearPosts();
virtual bool useThread() { return true; }
virtual bool useThread() { return mUseThread; }
virtual void fillThreadCreatePost(const QVariant &post, bool related, int current, int count);
private slots:
@ -80,6 +80,7 @@ private slots:
void subscribeGroup(bool subscribe);
void filterChanged(int filter);
void setViewMode(int viewMode);
void settingsChanged();
private:
void processSettings(bool load);
@ -96,6 +97,7 @@ private:
QAction *mAutoDownloadAction;
bool mInProcessSettings;
bool mUseThread;
/* UI - from Designer */
Ui::GxsChannelPostsWidget *ui;