Added a new icon for "connection refused by remote peer"

removed not good looking avatar label border stylesheet.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6451 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2013-06-21 11:45:11 +00:00
parent 87bb66e349
commit 7bc9e2ba53
4 changed files with 3 additions and 7 deletions

View File

@ -124,7 +124,7 @@ void SecurityItem::updateItemStatic()
case SEC_TYPE_AUTH_DENIED: case SEC_TYPE_AUTH_DENIED:
title = tr("Connection refused by remote peer"); title = tr("Connection refused by remote peer");
requestLabel->hide(); requestLabel->hide();
avatar->setDefaultAvatar(":images/avatar_request.png"); avatar->setDefaultAvatar(":images/avatar_refused.png");
break; break;
case SEC_TYPE_UNKNOWN_IN: case SEC_TYPE_UNKNOWN_IN:
title = tr("Unknown (Incoming) Connect Attempt"); title = tr("Unknown (Incoming) Connect Attempt");

View File

@ -17,6 +17,7 @@
<file>images/rs_wizard.png</file> <file>images/rs_wizard.png</file>
<file>images/about.png</file> <file>images/about.png</file>
<file>images/avatar_request.png</file> <file>images/avatar_request.png</file>
<file>images/avatar_refused.png</file>
<file>images/avatar_request_unknown.png</file> <file>images/avatar_request_unknown.png</file>
<file>images/backblue.png</file> <file>images/backblue.png</file>
<file>images/backchat.png</file> <file>images/backchat.png</file>

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

View File

@ -348,11 +348,6 @@ SecurityItem > QFrame#frame {
border-radius: 10px; border-radius: 10px;
} }
SecurityItem QWidget#avatar {
border: 2px solid red;
background-color: #FDBF7D;
}
SecurityItem QLabel#peerNameLabel, SecurityItem QLabel#requestLabel { SecurityItem QLabel#peerNameLabel, SecurityItem QLabel#requestLabel {
color: #990033 color: #990033
} }