mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-23 10:05:10 -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
|
|
@ -273,7 +273,7 @@ void TabDeckEditorVisual::refreshShortcuts()
|
|||
void TabDeckEditorVisual::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