1
mirror of https://invent.kde.org/network/falkon.git synced 2024-09-21 17:52:10 +02:00

Fix loading profile version for updateDatabase

Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
This commit is contained in:
Juraj Oravec 2024-03-21 10:34:29 +01:00
parent 3598dc7406
commit 015a39b428
Signed by: SGOrava
GPG Key ID: 13660A3F1D9F093B

View File

@ -167,7 +167,7 @@ void ProfileManager::updateCurrentProfile()
// If file exists, just update the profile to current version
if (versionFile.exists()) {
versionFile.open(QFile::ReadOnly);
QString profileVersion = QString::fromUtf8(versionFile.readAll());
profileVersion = QString::fromUtf8(versionFile.readAll());
versionFile.close();
updateProfile(QString::fromLatin1(Qz::VERSION), profileVersion.trimmed());