hide the password fields

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1791 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
joss17 2009-10-30 21:26:51 +00:00
parent 3fc211ab15
commit be575a918d
2 changed files with 6 additions and 24 deletions

View file

@ -50,19 +50,9 @@ GenCertDialog::GenCertDialog(QWidget *parent, Qt::WFlags flags)
//ui.genName->setFocus(Qt::OtherFocusReason);
#ifndef WINDOWS_SYS /* UNIX */
std::string gpgEngineFileName;
if (RsInit::getPGPEngineFileName(gpgEngineFileName)) {
std::cerr << "RsInit::getPGPEngineFileName() : " << gpgEngineFileName << std::endl;
//if fileName contains gpg2 then the passphrase is set by pinentry and not by RS
QString *fileName = new QString(gpgEngineFileName.c_str());
if (fileName->contains("gpg2")) {
ui.genPGPpassword->hide();
ui.label_3->hide();
}
}
//comment those to show the pgp password field
#endif
//the pgp password is now a GT box.
ui.genPGPpassword->hide();
ui.label_3->hide();
#ifdef RS_USE_PGPSSL
/* get all available pgp private certificates....