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>

View File

@ -10057,10 +10057,6 @@ Reducing image to %1x%2 pixels?</source>
<source>Accept Friend Request</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>wants to be friend with you on RetroShare</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ServerPage</name>
@ -10254,6 +10250,10 @@ peers still need to trust each other to allow connection. </source>
<source>Share flags and groups: </source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Edit Shared Folder</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ShareKey</name>
@ -10372,6 +10372,10 @@ p, li { white-space: pre-wrap; }
<source>Apply and close</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Edit Shared Folder</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>SharedFilesDialog</name>
@ -10515,6 +10519,14 @@ p, li { white-space: pre-wrap; }
<source>Split View</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Edit Share Permissions</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Edit Shared Folder</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>SoundPage</name>