mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-04 17:15:31 -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),
|
MainPage(parent),
|
||||||
ui(new Ui::HomePage)
|
ui(new Ui::HomePage)
|
||||||
{
|
{
|
||||||
|
mIncludeAllIPs = false;
|
||||||
|
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
|
|
||||||
updateOwnCert();
|
updateOwnCert();
|
||||||
|
|
||||||
connect(ui->addButton, SIGNAL(clicked()), this, SLOT(addFriend()));
|
connect(ui->addButton, SIGNAL(clicked()), this, SLOT(addFriend()));
|
||||||
connect(ui->LoadCertFileButton, SIGNAL(clicked()), this, SLOT(loadCert()));
|
connect(ui->LoadCertFileButton, SIGNAL(clicked()), this, SLOT(loadCert()));
|
||||||
@ -81,8 +83,6 @@ HomePage::HomePage(QWidget *parent) :
|
|||||||
ui->runStartWizard_PB->hide(); // until future rework
|
ui->runStartWizard_PB->hide(); // until future rework
|
||||||
ui->LoadCertFileButton->hide(); // duplicates functionality => not good.
|
ui->LoadCertFileButton->hide(); // duplicates functionality => not good.
|
||||||
|
|
||||||
mIncludeAllIPs = false;
|
|
||||||
|
|
||||||
int S = QFontMetricsF(font()).height();
|
int S = QFontMetricsF(font()).height();
|
||||||
QString help_str = tr(
|
QString help_str = tr(
|
||||||
" <h1><img width=\"%1\" src=\":/icons/help_64.png\"> Welcome to Retroshare!</h1>\
|
" <h1><img width=\"%1\" src=\":/icons/help_64.png\"> Welcome to Retroshare!</h1>\
|
||||||
|
Loading…
x
Reference in New Issue
Block a user