mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
use trimmed()
This commit is contained in:
parent
7e67078187
commit
01c3124722
|
@ -24,7 +24,7 @@ CroppingLabel::CroppingLabel(QWidget* parent)
|
||||||
|
|
||||||
void CroppingLabel::setText(const QString& text)
|
void CroppingLabel::setText(const QString& text)
|
||||||
{
|
{
|
||||||
origText = text;
|
origText = text.trimmed();
|
||||||
setElidedText();
|
setElidedText();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user