mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
fixed bug causing file lists to not refresh/show until a friend makes a change
This commit is contained in:
parent
5511a0b2b0
commit
1d231e6db9
@ -87,7 +87,11 @@ void RetroshareDirModel::treeStyle()
|
|||||||
QIcon::Normal, QIcon::On);
|
QIcon::Normal, QIcon::On);
|
||||||
peerIcon = QIcon(":/images/user/identity16.png");
|
peerIcon = QIcon(":/images/user/identity16.png");
|
||||||
}
|
}
|
||||||
|
void TreeStyle_RDM::update()
|
||||||
|
{
|
||||||
|
preMods() ;
|
||||||
|
postMods() ;
|
||||||
|
}
|
||||||
void TreeStyle_RDM::updateRef(const QModelIndex& indx) const
|
void TreeStyle_RDM::updateRef(const QModelIndex& indx) const
|
||||||
{
|
{
|
||||||
rsFiles->requestDirUpdate(indx.internalPointer()) ;
|
rsFiles->requestDirUpdate(indx.internalPointer()) ;
|
||||||
|
@ -177,6 +177,7 @@ class TreeStyle_RDM: public RetroshareDirModel
|
|||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual void updateRef(const QModelIndex&) const ;
|
virtual void updateRef(const QModelIndex&) const ;
|
||||||
|
virtual void update() ;
|
||||||
|
|
||||||
/* These are all overloaded Virtual Functions */
|
/* These are all overloaded Virtual Functions */
|
||||||
virtual int rowCount(const QModelIndex &parent = QModelIndex()) const;
|
virtual int rowCount(const QModelIndex &parent = QModelIndex()) const;
|
||||||
|
Loading…
Reference in New Issue
Block a user