Fix several clazy issue:
* Use multi-arg instead [-Wclazy-qstring-arg] * Use an empty QLatin1String instead of an empty QStringLiteral [-Wclazy-empty-qstringliteral] * getter Gui::ProgressBar::canAbort possibly mismarked as a slot [-Wclazy-const-signal-or-slot] * Missing emit keyword on signal call [-Wclazy-incorrect-emit]
This commit is contained in:
@@ -601,7 +601,7 @@ void QuantitySpinBox::updateFromCache(bool notify, bool updateUnit /* = true */)
|
||||
d->pendingEmit = false;
|
||||
Q_EMIT valueChanged(res);
|
||||
Q_EMIT valueChanged(res.getValue());
|
||||
textChanged(text);
|
||||
Q_EMIT textChanged(text);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user