Tidying
This commit is contained in:
@@ -11,8 +11,6 @@
|
||||
|
||||
#include "src/Insight/UserInterfaces/InsightWindow/Widgets/SvgToolButton.hpp"
|
||||
#include "src/Insight/UserInterfaces/InsightWindow/Widgets/Label.hpp"
|
||||
#include "src/Insight/UserInterfaces/InsightWindow/Widgets/PushButton.hpp"
|
||||
#include "src/Insight/UserInterfaces/InsightWindow/Widgets/ListView/ListView.hpp"
|
||||
#include "src/Insight/UserInterfaces/InsightWindow/Widgets/TaskProgressIndicator/TaskProgressIndicator.hpp"
|
||||
|
||||
#include "src/Targets/TargetMemory.hpp"
|
||||
|
||||
@@ -151,7 +151,7 @@ namespace Bloom::Widgets
|
||||
auto* programCounterLabel = this->bottomBar->findChild<Label*>("program-counter-label");
|
||||
auto* dateLabel = this->bottomBar->findChild<Label*>("date-label");
|
||||
|
||||
memoryCapacityLabel->setText(QLocale(QLocale::English).toString(this->memoryDescriptor.size()) + " Bytes");
|
||||
memoryCapacityLabel->setText(QLocale(QLocale::English).toString(this->memoryDescriptor.size()) + " bytes");
|
||||
snapshotIdLabel->setText(this->snapshot.id);
|
||||
programCounterLabel->setText(
|
||||
"0x" + QString::number(this->snapshot.programCounter, 16).rightJustified(8, '0').toUpper()
|
||||
|
||||
@@ -218,7 +218,6 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
|
||||
@@ -94,7 +94,7 @@ namespace Bloom::Widgets
|
||||
titleLabel->setText(memoryName);
|
||||
|
||||
auto* memoryCapacityLabel = this->container->findChild<Label*>("memory-capacity-label");
|
||||
memoryCapacityLabel->setText(QLocale(QLocale::English).toString(this->targetMemoryDescriptor.size()) + " Bytes");
|
||||
memoryCapacityLabel->setText(QLocale(QLocale::English).toString(this->targetMemoryDescriptor.size()) + " bytes");
|
||||
|
||||
// Quick sanity check to ensure the validity of persisted settings.
|
||||
this->sanitiseSettings();
|
||||
|
||||
@@ -364,7 +364,7 @@
|
||||
<item>
|
||||
<widget class="Label" name="memory-capacity-label">
|
||||
<property name="toolTip">
|
||||
<string>Memory Capacity</string>
|
||||
<string>Memory capacity</string>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Fixed" vsizetype="Fixed"/>
|
||||
|
||||
Reference in New Issue
Block a user