From 015a39b428fdd997a13ebbf62ae3b9fc8cae29dc Mon Sep 17 00:00:00 2001 From: Juraj Oravec Date: Thu, 21 Mar 2024 10:34:29 +0100 Subject: [PATCH] Fix loading profile version for updateDatabase Signed-off-by: Juraj Oravec --- src/lib/app/profilemanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/app/profilemanager.cpp b/src/lib/app/profilemanager.cpp index c802fbfd0..00b8a6aa4 100644 --- a/src/lib/app/profilemanager.cpp +++ b/src/lib/app/profilemanager.cpp @@ -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());