Replace deprecated setStandardButtons

pull/1438/head
Jiří Pinkava 2022-09-23 00:27:50 +02:00
rodzic 330251a484
commit bad33e0719
1 zmienionych plików z 1 dodań i 1 usunięć

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