0001.patch
| src/qtui/settingspages/networkssettingspage.cpp | ||
|---|---|---|
| 485 | 485 |
if (_cid) {
|
| 486 | 486 |
disconnect(_cid, SIGNAL(sslSettingsUpdated()), this, SLOT(sslUpdated())); |
| 487 | 487 |
delete _cid; |
| 488 |
_cid = nullptr; |
|
| 488 | 489 |
} |
| 489 |
_cid = new CertIdentity(*Client::identity(info.identity), this); |
|
| 490 |
const Identity *identity = Client::identity(info.identity); |
|
| 491 |
if (identity) {
|
|
| 492 |
_cid = new CertIdentity(*identity, this); |
|
| 490 | 493 |
_cid->enableEditSsl(true); |
| 491 | 494 |
connect(_cid, SIGNAL(sslSettingsUpdated()), this, SLOT(sslUpdated())); |
| 495 |
} else {
|
|
| 496 |
qWarning() << " NetworksSettingsPage::displayNetwork can't find Identity forIdentityId:" << info.identity; |
|
| 497 |
} |
|
| 492 | 498 |
} |
| 493 | 499 |
#endif |
| 494 | 500 | |