mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Merge pull request #224 from PhenomRetroShare/Fix_GenCertDialogMaskingPGPKeyPassword
Fix GenCertDialog masking PGP Key password dialog at end.
This commit is contained in:
commit
eab4253437
@ -72,8 +72,8 @@ class MyFilter: public QObject
|
|||||||
|
|
||||||
void GenCertDialog::grabMouse()
|
void GenCertDialog::grabMouse()
|
||||||
{
|
{
|
||||||
static int last_x = 0 ;
|
static uint32_t last_x = 0 ;
|
||||||
static int last_y = 0 ;
|
static uint32_t last_y = 0 ;
|
||||||
static uint32_t count = 0 ;
|
static uint32_t count = 0 ;
|
||||||
|
|
||||||
uint32_t x = QCursor::pos().x() ;
|
uint32_t x = QCursor::pos().x() ;
|
||||||
@ -555,6 +555,7 @@ void GenCertDialog::genPerson()
|
|||||||
RsPeerId sslId;
|
RsPeerId sslId;
|
||||||
std::cerr << "GenCertDialog::genPerson() Generating SSL cert with gpg id : " << PGPId << std::endl;
|
std::cerr << "GenCertDialog::genPerson() Generating SSL cert with gpg id : " << PGPId << std::endl;
|
||||||
std::string err;
|
std::string err;
|
||||||
|
this->hide();//To show dialog asking password PGP Key.
|
||||||
bool okGen = RsAccounts::GenerateSSLCertificate(PGPId, "", genLoc, "", isHiddenLoc, sslPasswd, sslId, err);
|
bool okGen = RsAccounts::GenerateSSLCertificate(PGPId, "", genLoc, "", isHiddenLoc, sslPasswd, sslId, err);
|
||||||
|
|
||||||
if (okGen)
|
if (okGen)
|
||||||
|
Loading…
Reference in New Issue
Block a user