mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-01 19:06:20 -05:00
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:
parent
3fc211ab15
commit
be575a918d
@ -50,19 +50,9 @@ GenCertDialog::GenCertDialog(QWidget *parent, Qt::WFlags flags)
|
|||||||
|
|
||||||
//ui.genName->setFocus(Qt::OtherFocusReason);
|
//ui.genName->setFocus(Qt::OtherFocusReason);
|
||||||
|
|
||||||
#ifndef WINDOWS_SYS /* UNIX */
|
//the pgp password is now a GT box.
|
||||||
std::string gpgEngineFileName;
|
ui.genPGPpassword->hide();
|
||||||
if (RsInit::getPGPEngineFileName(gpgEngineFileName)) {
|
ui.label_3->hide();
|
||||||
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
|
|
||||||
|
|
||||||
#ifdef RS_USE_PGPSSL
|
#ifdef RS_USE_PGPSSL
|
||||||
/* get all available pgp private certificates....
|
/* get all available pgp private certificates....
|
||||||
|
@ -78,22 +78,14 @@ StartDialog::StartDialog(QWidget *parent, Qt::WFlags flags)
|
|||||||
#ifndef WINDOWS_SYS /* UNIX */
|
#ifndef WINDOWS_SYS /* UNIX */
|
||||||
//hide autologin because it's not functionnal on other than windows system
|
//hide autologin because it's not functionnal on other than windows system
|
||||||
ui.autoBox->hide();
|
ui.autoBox->hide();
|
||||||
|
#endif
|
||||||
|
|
||||||
//comment those to show the pgp and ssl password dialog
|
//comment those to show the pgp and ssl password dialog
|
||||||
ui.loadPasswd->hide();
|
ui.loadPasswd->hide();
|
||||||
ui.label_4->hide();
|
ui.label_4->hide();
|
||||||
|
|
||||||
std::string gpgEngineFileName;
|
ui.loadGPGPasswd->hide();
|
||||||
if (RsInit::getPGPEngineFileName(gpgEngineFileName)) {
|
ui.label_5->hide();
|
||||||
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.loadGPGPasswd->hide();
|
|
||||||
ui.label_5->hide();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* get all available pgp private certificates....
|
/* get all available pgp private certificates....
|
||||||
* mark last one as default.
|
* mark last one as default.
|
||||||
|
Loading…
Reference in New Issue
Block a user