Merge pull request #1438 from pinkavaj/pi-depr2

Replace deprecated Qt functions
pull/1442/head
Edouard Griffiths 2022-09-23 06:23:22 +02:00 zatwierdzone przez GitHub
commit 261b12f3ad
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -158,7 +158,7 @@ void HttpConnectionHandlerPool::loadSslConfig()
sslConfiguration->setLocalCertificate(certificate);
sslConfiguration->setPrivateKey(sslKey);
sslConfiguration->setPeerVerifyMode(QSslSocket::VerifyNone);
sslConfiguration->setProtocol(QSsl::TlsV1SslV3);
sslConfiguration->setProtocol(QSsl::TlsV1_0);
qDebug("HttpConnectionHandlerPool: SSL settings loaded");
#endif

Wyświetl plik

@ -194,7 +194,7 @@ bool ATVModGUI::handleMessage(const Message& message)
{
m_camBusyFPSMessageBox = new QMessageBox();
m_camBusyFPSMessageBox->setText("Computing camera FPS. Please wait…");
m_camBusyFPSMessageBox->setStandardButtons(0);
m_camBusyFPSMessageBox->setStandardButtons(QMessageBox::NoButton);
m_camBusyFPSMessageBox->show();
}
else if (status == 2) // camera FPS scan is finished