Skip to content
Snippets Groups Projects
Commit 076f9224 authored by Gemma Guest's avatar Gemma Guest
Browse files

Apply clang-format Re #22263

parent c986020e
No related branches found
No related tags found
No related merge requests found
...@@ -15,10 +15,10 @@ void showAsInvalid(QDoubleSpinBox &spinBox) { ...@@ -15,10 +15,10 @@ void showAsInvalid(QDoubleSpinBox &spinBox) {
spinBox.setStyleSheet("QDoubleSpinBox { background-color: #ffb8ad; }"); spinBox.setStyleSheet("QDoubleSpinBox { background-color: #ffb8ad; }");
/// This doesn't work /// This doesn't work
//auto palette = spinBox.palette(); // auto palette = spinBox.palette();
//palette.setColor(spinBox.backgroundRole(), QColor("#ffb8ad")); // palette.setColor(spinBox.backgroundRole(), QColor("#ffb8ad"));
// spinBox.setAutoFillBackground(true); // spinBox.setAutoFillBackground(true);
//parent->setPalette(palette); // parent->setPalette(palette);
} }
void showAsValid(QDoubleSpinBox &spinBox) { void showAsValid(QDoubleSpinBox &spinBox) {
......
...@@ -11,7 +11,7 @@ boost::optional<RangeInLambda> rangeOrNone(RangeInLambda &range, ...@@ -11,7 +11,7 @@ boost::optional<RangeInLambda> rangeOrNone(RangeInLambda &range,
else else
return range; return range;
} }
} } // namespace
InstrumentPresenter::InstrumentPresenter(IInstrumentView *view, InstrumentPresenter::InstrumentPresenter(IInstrumentView *view,
Instrument instrument) Instrument instrument)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment