mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-11 10:35:22 -04:00
made the age indicator functional, by recursively changing color of directory/files
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2244 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
38b0c578bb
commit
024e7f4b44
10 changed files with 114 additions and 62 deletions
|
@ -846,7 +846,12 @@ void SharedFilesDialog::showFrameSplitted(bool show)
|
|||
|
||||
void SharedFilesDialog::indicatorChanged(int index)
|
||||
{
|
||||
model->changeAgeIndicator(index);
|
||||
localModel->changeAgeIndicator(index);
|
||||
static uint32_t correct_indicator[4] = { IND_ALWAYS,IND_LAST_DAY,IND_LAST_WEEK,IND_LAST_MONTH } ;
|
||||
|
||||
model->changeAgeIndicator(correct_indicator[index]);
|
||||
localModel->changeAgeIndicator(correct_indicator[index]);
|
||||
|
||||
ui.remoteDirTreeView->update(ui.remoteDirTreeView->rootIndex());
|
||||
ui.localDirTreeView->update(ui.localDirTreeView->rootIndex()) ;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue