mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 433070 - Cannot import passwords from Seamonkey. r=gavin
This commit is contained in:
parent
f3bafc5032
commit
c552497569
@ -683,8 +683,9 @@ nsSeamonkeyProfileMigrator::CopyPasswords(PRBool aReplace)
|
||||
nsCOMPtr<nsILoginManagerStorage> importer(
|
||||
do_CreateInstance("@mozilla.org/login-manager/storage/legacy;1"));
|
||||
|
||||
nsCOMPtr<nsIFile> signonsFile(do_QueryInterface(mSourceProfile));
|
||||
signonsFile->SetLeafName(fileName);
|
||||
nsCOMPtr<nsIFile> signonsFile;
|
||||
mSourceProfile->Clone(getter_AddRefs(signonsFile));
|
||||
signonsFile->Append(fileName);
|
||||
|
||||
importer->InitWithFile(signonsFile, nsnull);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user