mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-25 23:45:49 -04:00
create collection dialog filename as dir name
This commit is contained in:
parent
8368a764fc
commit
1f207ba05c
4 changed files with 14 additions and 6 deletions
|
@ -413,9 +413,8 @@ bool RsCollection::save(QWidget *parent) const
|
|||
}
|
||||
|
||||
|
||||
bool RsCollection::openNewColl(QWidget *parent)
|
||||
bool RsCollection::openNewColl(QWidget *parent, QString fileName)
|
||||
{
|
||||
QString fileName;
|
||||
if(!misc::getSaveFileName(parent, RshareSettings::LASTDIR_EXTRAFILE
|
||||
, QApplication::translate("RsCollectionFile", "Create collection file")
|
||||
, QApplication::translate("RsCollectionFile", "Collection files") + " (*." + RsCollection::ExtensionString + ")"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue