appDisplay: Trivial const-correctness fix

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1447
This commit is contained in:
Georges Basile Stavracas Neto 2020-09-24 12:17:58 -03:00 committed by Florian Müllner
parent 1709592811
commit 75a8697671

View File

@ -1820,7 +1820,7 @@ class FolderView extends BaseAppView {
if (folderApps.length == 0) { if (folderApps.length == 0) {
// Resetting all keys deletes the relocatable schema // Resetting all keys deletes the relocatable schema
let keys = this._folder.settings_schema.list_keys(); let keys = this._folder.settings_schema.list_keys();
for (let key of keys) for (const key of keys)
this._folder.reset(key); this._folder.reset(key);
let settings = new Gio.Settings({ schema_id: 'org.gnome.desktop.app-folders' }); let settings = new Gio.Settings({ schema_id: 'org.gnome.desktop.app-folders' });