1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-26 17:58:43 -05:00

Merge pull request #1438 from pinkavaj/pi-depr2

Replace deprecated Qt functions
This commit is contained in:
Edouard Griffiths 2022-09-23 06:23:22 +02:00 committed by GitHub
commit 261b12f3ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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