Corrected RegisterHistoryItem member variable name

This commit is contained in:
Nav
2021-12-19 01:29:39 +00:00
parent dd4cbcc597
commit 5cd19c3ff9
2 changed files with 4 additions and 4 deletions

View File

@@ -24,15 +24,15 @@ RegisterHistoryItem::RegisterHistoryItem(
).toHex()).toUpper());
this->valueLabel->setObjectName("value-label");
this->descriptionLayout->setText("Register Written");
this->descriptionLayout->setObjectName("description-label");
this->descriptionLabel->setText("Register Written");
this->descriptionLabel->setObjectName("description-label");
auto* subLabelLayout = new QHBoxLayout();
subLabelLayout->setSpacing(0);
subLabelLayout->setContentsMargins(0, 0, 0, 0);
subLabelLayout->addWidget(this->valueLabel, 0, Qt::AlignmentFlag::AlignLeft);
subLabelLayout->addStretch(1);
subLabelLayout->addWidget(this->descriptionLayout, 0, Qt::AlignmentFlag::AlignRight);
subLabelLayout->addWidget(this->descriptionLabel, 0, Qt::AlignmentFlag::AlignRight);
this->layout->setSpacing(5);
this->layout->addWidget(this->dateLabel, 0, Qt::AlignmentFlag::AlignTop);

View File

@@ -23,6 +23,6 @@ namespace Bloom::Widgets
QVBoxLayout* layout = new QVBoxLayout(this);
QLabel* dateLabel = new QLabel(this);
QLabel* valueLabel = new QLabel(this);
QLabel* descriptionLayout = new QLabel(this);
QLabel* descriptionLabel = new QLabel(this);
};
}