Cppcheck warning.

This commit is contained in:
Roman Telezhynskyi 2020-05-08 19:39:28 +03:00
parent 56ec62580c
commit 723c3e48d3

View File

@ -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();
} }