mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 01:22:10 +01:00
Fix loading profile version for updateDatabase
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
This commit is contained in:
parent
3598dc7406
commit
015a39b428
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue
Block a user