mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 09:32:12 +01:00
Remove redundant mkdir instruction (#1963)
This commit is contained in:
parent
c0026af63e
commit
be72477855
|
@ -99,7 +99,6 @@ int ProfileManager::createProfile(const QString &profileName)
|
|||
return -2;
|
||||
}
|
||||
|
||||
dir.mkdir(profileName);
|
||||
dir.cd(profileName);
|
||||
QFile(QLatin1String(":data/browsedata.db")).copy(dir.filePath(QLatin1String("browsedata.db")));
|
||||
QFile(dir.filePath(QLatin1String("browsedata.db"))).setPermissions(QFile::ReadUser | QFile::WriteUser);
|
||||
|
|
Loading…
Reference in New Issue
Block a user