1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

use trimmed()

This commit is contained in:
krepa098 2014-08-18 15:56:48 +02:00
parent 7e67078187
commit 01c3124722

View File

@ -24,7 +24,7 @@ CroppingLabel::CroppingLabel(QWidget* parent)
void CroppingLabel::setText(const QString& text)
{
origText = text;
origText = text.trimmed();
setElidedText();
}