diff --git a/src/libs/vwidgets/velidedlabel.cpp b/src/libs/vwidgets/velidedlabel.cpp index 30f79ceea..f67b0d06b 100644 --- a/src/libs/vwidgets/velidedlabel.cpp +++ b/src/libs/vwidgets/velidedlabel.cpp @@ -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(); }