mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-23 00:18:37 -05:00
Merge pull request #1438 from pinkavaj/pi-depr2
Replace deprecated Qt functions
This commit is contained in:
commit
261b12f3ad
@ -158,7 +158,7 @@ void HttpConnectionHandlerPool::loadSslConfig()
|
|||||||
sslConfiguration->setLocalCertificate(certificate);
|
sslConfiguration->setLocalCertificate(certificate);
|
||||||
sslConfiguration->setPrivateKey(sslKey);
|
sslConfiguration->setPrivateKey(sslKey);
|
||||||
sslConfiguration->setPeerVerifyMode(QSslSocket::VerifyNone);
|
sslConfiguration->setPeerVerifyMode(QSslSocket::VerifyNone);
|
||||||
sslConfiguration->setProtocol(QSsl::TlsV1SslV3);
|
sslConfiguration->setProtocol(QSsl::TlsV1_0);
|
||||||
|
|
||||||
qDebug("HttpConnectionHandlerPool: SSL settings loaded");
|
qDebug("HttpConnectionHandlerPool: SSL settings loaded");
|
||||||
#endif
|
#endif
|
||||||
|
@ -194,7 +194,7 @@ bool ATVModGUI::handleMessage(const Message& message)
|
|||||||
{
|
{
|
||||||
m_camBusyFPSMessageBox = new QMessageBox();
|
m_camBusyFPSMessageBox = new QMessageBox();
|
||||||
m_camBusyFPSMessageBox->setText("Computing camera FPS. Please wait…");
|
m_camBusyFPSMessageBox->setText("Computing camera FPS. Please wait…");
|
||||||
m_camBusyFPSMessageBox->setStandardButtons(0);
|
m_camBusyFPSMessageBox->setStandardButtons(QMessageBox::NoButton);
|
||||||
m_camBusyFPSMessageBox->show();
|
m_camBusyFPSMessageBox->show();
|
||||||
}
|
}
|
||||||
else if (status == 2) // camera FPS scan is finished
|
else if (status == 2) // camera FPS scan is finished
|
||||||
|
Loading…
Reference in New Issue
Block a user