mirror of
https://gitlab.com/smart-pattern/valentina.git
synced 2024-10-03 05:41:36 +02:00
Cppcheck warning.
This commit is contained in:
parent
56ec62580c
commit
723c3e48d3
|
@ -48,9 +48,9 @@ VElidedLabel::VElidedLabel(const QString &text, QWidget *parent)
|
||||||
}
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
void VElidedLabel::setText(const QString &newText)
|
void VElidedLabel::setText(const QString &text)
|
||||||
{
|
{
|
||||||
m_content = newText;
|
m_content = text;
|
||||||
update();
|
update();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue