mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 18:25:37 +08:00
Fixed clazy warnings: pass large objects by reference to const.
This commit is contained in:
@@ -103,7 +103,7 @@ namespace BlackGui
|
||||
Q_UNUSED(paintEvent);
|
||||
}
|
||||
|
||||
void CValidationIndicator::setBackgroundColor(const QString colorName)
|
||||
void CValidationIndicator::setBackgroundColor(const QString &colorName)
|
||||
{
|
||||
if (colorName.isEmpty())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user