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:
parent
a4c3e49e3e
commit
d18be6f8e4
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user