diff options
Diffstat (limited to 'fetchboardconfigaction.cpp')
-rw-r--r-- | fetchboardconfigaction.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fetchboardconfigaction.cpp b/fetchboardconfigaction.cpp index 4d1cea2..0dd5e4c 100644 --- a/fetchboardconfigaction.cpp +++ b/fetchboardconfigaction.cpp @@ -12,6 +12,12 @@ FetchBoardConfigAction::FetchBoardConfigAction(Board *board) : { } +bool FetchBoardConfigAction::isSupersetOf(Action *action) const +{ + // If 'action' is also a fetch board config action then yes, this supersets 'action'. + return qobject_cast<FetchBoardConfigAction*>(action) != 0; +} + void FetchBoardConfigAction::execute() { _call = _board->service()->asyncCall("get_config"); |