mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
setup proper title in RsCollectionEditor when in download mode
This commit is contained in:
parent
2cfa86620c
commit
cbcf402e0b
@ -214,9 +214,7 @@ void RsCollection::recursAddElements(QDomDocument& doc,const ColFileInfo& colFil
|
||||
d.setAttribute(QString("name"),colFileInfo.name) ;
|
||||
|
||||
for (std::vector<ColFileInfo>::const_iterator it = colFileInfo.children.begin(); it != colFileInfo.children.end(); ++it)
|
||||
{
|
||||
recursAddElements(doc,(*it),d) ;
|
||||
}
|
||||
|
||||
e.appendChild(d) ;
|
||||
}
|
||||
|
@ -138,7 +138,11 @@ RsCollectionDialog::RsCollectionDialog(const QString& collectionFileName
|
||||
|
||||
|
||||
ui.headerFrame->setHeaderImage(QPixmap(":/images/library64.png"));
|
||||
ui.headerFrame->setHeaderText(tr("Collection Editor"));
|
||||
|
||||
if(creation)
|
||||
ui.headerFrame->setHeaderText(tr("Collection Editor"));
|
||||
else
|
||||
ui.headerFrame->setHeaderText(tr("Download files"));
|
||||
|
||||
// 1 - add all elements to the list.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user