1
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:
Vlad 2016-05-03 17:49:09 +03:00 committed by David Rosca
parent c0026af63e
commit be72477855

View File

@ -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);