1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-24 12:46:35 +01:00

ProfileManager: Fix warning when creating new profile

This commit is contained in:
David Rosca 2017-03-15 10:48:00 +01:00
parent a4c3e49e3e
commit d18be6f8e4

View File

@ -230,9 +230,6 @@ void ProfileManager::copyDataToProfile()
QFile(QLatin1String(":data/browsedata.db")).copy(profileDir.filePath(QLatin1String("browsedata.db")));
QFile(profileDir.filePath(QLatin1String("browsedata.db"))).setPermissions(QFile::ReadUser | QFile::WriteUser);
// Reconnect database
connectDatabase();
}
void ProfileManager::connectDatabase()