mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-09 17:44:01 -07:00
fix compile failure
This commit is contained in:
parent
ef8412ae4b
commit
4aecec45d7
2 changed files with 2 additions and 2 deletions
|
|
@ -136,7 +136,7 @@ void TabDeckEditor::loadLayout()
|
||||||
{
|
{
|
||||||
LayoutsSettings &layouts = SettingsCache::instance().layouts();
|
LayoutsSettings &layouts = SettingsCache::instance().layouts();
|
||||||
|
|
||||||
auto &layoutState = layouts.getDeckEditorLayoutState();
|
auto layoutState = layouts.getDeckEditorLayoutState();
|
||||||
if (layoutState.isNull())
|
if (layoutState.isNull())
|
||||||
restartLayout();
|
restartLayout();
|
||||||
else {
|
else {
|
||||||
|
|
|
||||||
|
|
@ -273,7 +273,7 @@ void TabDeckEditorVisual::refreshShortcuts()
|
||||||
void TabDeckEditorVisual::loadLayout()
|
void TabDeckEditorVisual::loadLayout()
|
||||||
{
|
{
|
||||||
LayoutsSettings &layouts = SettingsCache::instance().layouts();
|
LayoutsSettings &layouts = SettingsCache::instance().layouts();
|
||||||
auto &layoutState = layouts.getDeckEditorLayoutState();
|
auto layoutState = layouts.getDeckEditorLayoutState();
|
||||||
if (layoutState.isNull()) {
|
if (layoutState.isNull()) {
|
||||||
restartLayout();
|
restartLayout();
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue