From 50cf681017a4847795fc9406cfd9a9c41b367815 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Wed, 10 Nov 2021 11:52:54 +0100 Subject: [PATCH] GUI: Fix include guard define --- gui/MetadataParser.h | 4 ++-- gui/widgets/groupedlist.h | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/gui/MetadataParser.h b/gui/MetadataParser.h index 39daf8bc772..c918898bd99 100644 --- a/gui/MetadataParser.h +++ b/gui/MetadataParser.h @@ -20,8 +20,8 @@ * */ -#ifndef METADATA_PARSER_H -#define METADATA_PARSER_H +#ifndef GUI_METADATA_PARSER_H +#define GUI_METADATA_PARSER_H #include "common/scummsys.h" #include "common/xmlparser.h" diff --git a/gui/widgets/groupedlist.h b/gui/widgets/groupedlist.h index 172e19ed1d2..7c2873ef8bc 100644 --- a/gui/widgets/groupedlist.h +++ b/gui/widgets/groupedlist.h @@ -70,6 +70,8 @@ public: void setGroupsVisibility(bool val) { _groupsVisible = val; } + void startEditMode() override { error("Edit mode is not supported for Grouped Lists"); } + protected: void sortGroups(); void toggleGroup(int groupID);