[LayoutSettings] Don't return by const value (#6592)

* [LayoutSettings] Don't return by const value

* fix compile failure
This commit is contained in:
RickyRister 2026-02-07 20:42:23 -08:00 committed by GitHub
parent 804a60f1ea
commit edc8691731
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 32 additions and 32 deletions

View file

@ -136,7 +136,7 @@ void TabDeckEditor::loadLayout()
{
LayoutsSettings &layouts = SettingsCache::instance().layouts();
auto &layoutState = layouts.getDeckEditorLayoutState();
auto layoutState = layouts.getDeckEditorLayoutState();
if (layoutState.isNull())
restartLayout();
else {