Fixed display of "TextLabel" in SecurityItem.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5956 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2012-12-09 18:26:30 +00:00
parent 6e60be0ef7
commit 63d66ee53c
3 changed files with 22 additions and 9 deletions

View file

@ -119,7 +119,6 @@ void SecurityItem::updateItemStatic()
case SEC_TYPE_CONNECT_ATTEMPT:
title = tr("Connect Attempt");
requestLabel->show();
requestLabel->setText(tr("wants to be friend with you on RetroShare"));
avatar->setDefaultAvatar(":images/avatar_request.png");
break;
case SEC_TYPE_AUTH_DENIED:

View file

@ -143,21 +143,23 @@
<item row="0" column="1">
<widget class="QLabel" name="requestLabel">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
<pointsize>10</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string notr="true">TextLabel</string>
<string>wants to be friend with you on RetroShare</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
<set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set>
</property>
<property name="wordWrap">
<bool>true</bool>