mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-11 18:45:17 -04:00
added temporisation to update of Flat shared files view. Makes it more handy for large lists
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4144 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
2796ec6048
commit
210b43dc47
2 changed files with 28 additions and 6 deletions
|
@ -162,6 +162,8 @@ class TreeStyle_RDM: public RetroshareDirModel
|
|||
//
|
||||
class FlatStyle_RDM: public RetroshareDirModel
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
FlatStyle_RDM(bool mode)
|
||||
: RetroshareDirModel(mode)
|
||||
|
@ -170,6 +172,9 @@ class FlatStyle_RDM: public RetroshareDirModel
|
|||
|
||||
virtual ~FlatStyle_RDM() ;
|
||||
|
||||
protected slots:
|
||||
void updateRefs() ;
|
||||
|
||||
protected:
|
||||
virtual void postMods();
|
||||
|
||||
|
@ -186,7 +191,8 @@ class FlatStyle_RDM: public RetroshareDirModel
|
|||
|
||||
QString computeDirectoryPath(const DirDetails& details) const ;
|
||||
|
||||
std::vector<std::pair<void *,QString> > _ref_entries ;
|
||||
std::vector<std::pair<void *,QString> > _ref_entries ;// used to store the refs to display
|
||||
std::vector<void *> _ref_stack ; // used to store the refs to update
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue