added placeholder texts (Qt>4.7)

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5035 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2012-03-18 12:26:15 +00:00
parent 29fab85034
commit dc22171166

View File

@ -54,6 +54,12 @@ GenCertDialog::GenCertDialog(QWidget *parent, Qt::WFlags flags)
QString titleString("<span style=\"font-size:17pt; font-weight:500;"
"color:white;\">%1</span>");
#if QT_VERSION >= 0x040700
ui.email_input->setPlaceholderText(tr("[Optional] Visible to your friends, and friends of friends.")) ;
ui.location_input->setPlaceholderText(tr("[Required] Examples: Home, Laptop,...")) ;
ui.name_input->setPlaceholderText(tr("[Required] Visible to your friends, and friends of friends."));
ui.password_input->setPlaceholderText(tr("[Required] This password protects your PGP key."));
#endif
/* get all available pgp private certificates....
* mark last one as default.
*/