From 723c3e48d32e292436f5cfafa95e2a576617fd51 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Fri, 8 May 2020 19:39:28 +0300 Subject: [PATCH] Cppcheck warning. --- src/libs/vwidgets/velidedlabel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); }