mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 02:36:34 +01:00
ProfileManager: Don't copy data when profile is from development version
Allows to jumping from stable version to development version without it always backing up settings, browsedata and session.
This commit is contained in:
parent
18d009c325
commit
cdbc64eb6d
@ -183,8 +183,12 @@ void ProfileManager::updateProfile(const QString ¤t, const QString &profil
|
||||
|
||||
Updater::Version prof(profile);
|
||||
|
||||
// Profile is from newer version than running application
|
||||
if (prof > Updater::Version(Qz::VERSION)) {
|
||||
copyDataToProfile();
|
||||
// Only copy data when profile is not from development version
|
||||
if (prof.revisionNumber != 99) {
|
||||
copyDataToProfile();
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user