mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-26 07:16:11 -05:00
removed uninitialized memory read in updateOwnCert()
This commit is contained in:
parent
3c6dd1af1c
commit
84aedb8ac7
@ -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\"> Welcome to Retroshare!</h1>\
|
||||
|
Loading…
x
Reference in New Issue
Block a user