mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-11 08:34:52 -07:00
[LayoutSettings] Don't return by const value (#6592)
* [LayoutSettings] Don't return by const value * fix compile failure
This commit is contained in:
parent
804a60f1ea
commit
edc8691731
4 changed files with 32 additions and 32 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue