mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Move session data localstorage -> storage_account.
This commit is contained in:
@@ -345,7 +345,7 @@ bool GetDefault(
|
||||
QString path = files.isEmpty() ? QString() : QFileInfo(files.back()).absoluteDir().absolutePath();
|
||||
if (!path.isEmpty() && path != cDialogLastPath()) {
|
||||
cSetDialogLastPath(path);
|
||||
Local::writeUserSettings();
|
||||
Local::writeSettings();
|
||||
}
|
||||
return !files.isEmpty();
|
||||
} else if (type == Type::ReadFolder) {
|
||||
@@ -366,7 +366,7 @@ bool GetDefault(
|
||||
auto path = QFileInfo(file).absoluteDir().absolutePath();
|
||||
if (!path.isEmpty() && path != cDialogLastPath()) {
|
||||
cSetDialogLastPath(path);
|
||||
Local::writeUserSettings();
|
||||
Local::writeSettings();
|
||||
}
|
||||
}
|
||||
files = QStringList(file);
|
||||
|
Reference in New Issue
Block a user