Cleaned up default target variant selection code and some tidying

This commit is contained in:
Nav
2021-04-09 20:33:24 +01:00
parent 06e056ee18
commit 0f309e04c7
7 changed files with 29 additions and 35 deletions

View File

@@ -47,7 +47,7 @@ namespace Bloom
QLabel* targetStatusLabel = nullptr;
QLabel* programCounterValueLabel = nullptr;
std::vector<TargetVariant> supportedVariants;
std::map<std::string, TargetVariant> supportedVariantsByName;
const TargetVariant* selectedVariant = nullptr;
bool uiDisabled = false;