mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-28 16:17:28 -04:00
setup proper title in RsCollectionEditor when in download mode
This commit is contained in:
parent
2cfa86620c
commit
cbcf402e0b
2 changed files with 5 additions and 3 deletions
|
@ -214,9 +214,7 @@ void RsCollection::recursAddElements(QDomDocument& doc,const ColFileInfo& colFil
|
||||||
d.setAttribute(QString("name"),colFileInfo.name) ;
|
d.setAttribute(QString("name"),colFileInfo.name) ;
|
||||||
|
|
||||||
for (std::vector<ColFileInfo>::const_iterator it = colFileInfo.children.begin(); it != colFileInfo.children.end(); ++it)
|
for (std::vector<ColFileInfo>::const_iterator it = colFileInfo.children.begin(); it != colFileInfo.children.end(); ++it)
|
||||||
{
|
|
||||||
recursAddElements(doc,(*it),d) ;
|
recursAddElements(doc,(*it),d) ;
|
||||||
}
|
|
||||||
|
|
||||||
e.appendChild(d) ;
|
e.appendChild(d) ;
|
||||||
}
|
}
|
||||||
|
|
|
@ -138,7 +138,11 @@ RsCollectionDialog::RsCollectionDialog(const QString& collectionFileName
|
||||||
|
|
||||||
|
|
||||||
ui.headerFrame->setHeaderImage(QPixmap(":/images/library64.png"));
|
ui.headerFrame->setHeaderImage(QPixmap(":/images/library64.png"));
|
||||||
|
|
||||||
|
if(creation)
|
||||||
ui.headerFrame->setHeaderText(tr("Collection Editor"));
|
ui.headerFrame->setHeaderText(tr("Collection Editor"));
|
||||||
|
else
|
||||||
|
ui.headerFrame->setHeaderText(tr("Download files"));
|
||||||
|
|
||||||
// 1 - add all elements to the list.
|
// 1 - add all elements to the list.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue