removed uninitialized memory read in updateOwnCert()

This commit is contained in:
csoler 2018-11-01 20:28:09 +01:00
parent 3c6dd1af1c
commit 84aedb8ac7
No known key found for this signature in database
GPG Key ID: 7BCA522266C0804C

View File

@ -50,9 +50,11 @@ HomePage::HomePage(QWidget *parent) :
MainPage(parent),
ui(new Ui::HomePage)
{
mIncludeAllIPs = false;
ui->setupUi(this);
updateOwnCert();
updateOwnCert();
connect(ui->addButton, SIGNAL(clicked()), this, SLOT(addFriend()));
connect(ui->LoadCertFileButton, SIGNAL(clicked()), this, SLOT(loadCert()));
@ -81,8 +83,6 @@ HomePage::HomePage(QWidget *parent) :
ui->runStartWizard_PB->hide(); // until future rework
ui->LoadCertFileButton->hide(); // duplicates functionality => not good.
mIncludeAllIPs = false;
int S = QFontMetricsF(font()).height();
QString help_str = tr(
" <h1><img width=\"%1\" src=\":/icons/help_64.png\">&nbsp;&nbsp;Welcome to Retroshare!</h1>\