1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00
This commit is contained in:
Tux3 / Mlkj / !Lev.uXFMLA 2014-11-15 23:17:30 +01:00
parent 5bed0c248a
commit 3de63c0061
No known key found for this signature in database
GPG Key ID: 7E086DD661263264
3 changed files with 8 additions and 1 deletions

View File

@ -144,3 +144,8 @@ void CroppingLabel::showTextEdit()
textEdit->setFocus();
textEdit->setText(origText);
}
QString CroppingLabel::fullText()
{
return origText;
}

View File

@ -37,6 +37,8 @@ public:
virtual void mouseReleaseEvent(QMouseEvent *e);
virtual bool eventFilter(QObject *obj, QEvent *e);
QString fullText(); ///< Returns the un-cropped text
signals:
void textChanged(QString newText, QString oldText);
void clicked();

View File

@ -85,7 +85,7 @@ void GenericChatroomWidget::setStatusMsg(const QString &status)
QString GenericChatroomWidget::getName() const
{
return nameLabel->text();
return nameLabel->fullText();
}
QString GenericChatroomWidget::getStatusMsg() const