diff --git a/src/Insight/UserInterfaces/InsightWindow/Stylesheets/Global.qss b/src/Insight/UserInterfaces/InsightWindow/Stylesheets/Global.qss index 55a33d11..cb2ebc82 100644 --- a/src/Insight/UserInterfaces/InsightWindow/Stylesheets/Global.qss +++ b/src/Insight/UserInterfaces/InsightWindow/Stylesheets/Global.qss @@ -168,6 +168,6 @@ QPushButton:disabled { } Bloom--Widgets--LabeledSeparator { - qProperty-lineColor: #454545; + qproperty-lineColor: #454545; color: #a6a6a6; } diff --git a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetRegisterInspector/TargetRegisterInspectorWindow.cpp b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetRegisterInspector/TargetRegisterInspectorWindow.cpp index 50bc8d59..0b10c3f6 100644 --- a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetRegisterInspector/TargetRegisterInspectorWindow.cpp +++ b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetRegisterInspector/TargetRegisterInspectorWindow.cpp @@ -103,17 +103,17 @@ TargetRegisterInspectorWindow::TargetRegisterInspectorWindow( this->container ); - auto contentLayout = this->container->findChild("content-layout"); + auto* contentLayout = this->container->findChild("content-layout"); contentLayout->insertWidget(0, this->registerHistoryWidget, 0, Qt::AlignmentFlag::AlignTop); - auto registerDetailsContainer = this->container->findChild("register-details-container"); - auto registerValueContainer = this->container->findChild("register-value-container"); + auto* registerDetailsContainer = this->container->findChild("register-details-container"); + auto* registerValueContainer = this->container->findChild("register-value-container"); registerValueContainer->setContentsMargins(15, 15, 15, 15); registerDetailsContainer->setContentsMargins(15, 15, 15, 15); - auto registerDetailsNameInput = registerDetailsContainer->findChild("register-details-name-input"); - auto registerDetailsSizeInput = registerDetailsContainer->findChild("register-details-size-input"); - auto registerDetailsStartAddressInput = registerDetailsContainer->findChild( + auto* registerDetailsNameInput = registerDetailsContainer->findChild("register-details-name-input"); + auto* registerDetailsSizeInput = registerDetailsContainer->findChild("register-details-size-input"); + auto* registerDetailsStartAddressInput = registerDetailsContainer->findChild( "register-details-start-address-input" ); registerDetailsNameInput->setText(registerName); @@ -128,11 +128,11 @@ TargetRegisterInspectorWindow::TargetRegisterInspectorWindow( this->registerValueTextInput->setDisabled(true); this->applyButton->setVisible(false); - auto readOnlyIndicatorLabel = this->registerValueContainer->findChild("read-only-indicator-label"); + auto* readOnlyIndicatorLabel = this->registerValueContainer->findChild("read-only-indicator-label"); readOnlyIndicatorLabel->show(); } - auto registerBitsetWidgetLayout = this->registerValueBitsetWidgetContainer->findChild( + auto* registerBitsetWidgetLayout = this->registerValueBitsetWidgetContainer->findChild( "register-value-bitset-widget-layout" ); diff --git a/src/Insight/UserInterfaces/InsightWindow/Widgets/TextInput.cpp b/src/Insight/UserInterfaces/InsightWindow/Widgets/TextInput.cpp index 01550e03..486d5806 100644 --- a/src/Insight/UserInterfaces/InsightWindow/Widgets/TextInput.cpp +++ b/src/Insight/UserInterfaces/InsightWindow/Widgets/TextInput.cpp @@ -8,7 +8,7 @@ using namespace Bloom::Widgets; TextInput::TextInput(QWidget* parent): QLineEdit(parent) {} void TextInput::contextMenuEvent(QContextMenuEvent* event) { - if (QMenu *menu = createStandardContextMenu()) { + if (QMenu* menu = this->createStandardContextMenu()) { menu->setAttribute(Qt::WA_DeleteOnClose); // Remove default icons