mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-25 23:06:10 -05:00
Use for short retroshare id own string for the info
This commit is contained in:
parent
47adb3946b
commit
17b1a72d44
@ -881,7 +881,11 @@ void ConnectFriendWizard::cleanFriendCert()
|
||||
|
||||
ui->friendCertCleanLabel->setStyleSheet("");
|
||||
}
|
||||
errorMsg = tr("Valid certificate") + (mIsShortInvite?" (Short format)":" (plain format with profile key)");
|
||||
|
||||
if (mIsShortInvite)
|
||||
errorMsg = tr("Valid Retroshare ID") + (mIsShortInvite?" (Short format)":" (plain format with profile key)");
|
||||
else
|
||||
errorMsg = tr("Valid certificate") ;
|
||||
|
||||
ui->friendCertCleanLabel->setPixmap(FilesDefs::getPixmapFromQtResourcePath(":/images/accepted16.png"));
|
||||
} else {
|
||||
@ -899,7 +903,7 @@ void ConnectFriendWizard::cleanFriendCert()
|
||||
|
||||
default:
|
||||
errorMsg = tr("Not a valid Retroshare certificate!") ;
|
||||
ui->friendCertCleanLabel->setStyleSheet("QLabel#friendCertCleanLabel {border: 2px solid red; border-radius: 6px;}");
|
||||
ui->friendCertCleanLabel->setStyleSheet("QLabel#friendCertCleanLabel {border: 1px solid #DCDC41; border-radius: 6px; background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #FFFFD7, stop:1 #FFFFB2);}");
|
||||
}
|
||||
}
|
||||
ui->friendCertCleanLabel->setPixmap(FilesDefs::getPixmapFromQtResourcePath(":/images/delete.png"));
|
||||
|
Loading…
x
Reference in New Issue
Block a user