void HttpWindow::slotAuthenticationRequired(const QString &hostName, quint16, QAuthenticator *authenticator){/* QDialog dlg; Ui::Dialog ui; ui.setupUi(&dlg); dlg.adjustSize(); ui.siteDescription->setText(tr("%1 at %2").arg(authenticator->realm()).arg(hostName)); if (dlg.exec() == QDialog::Accepted) { authenticator->setUser(ui.userEdit->text()); authenticator->setPassword(ui.passwordEdit->text()); }*/}
http->ignoreSslErrors();