From bad33e0719093b0c68ffc99920a372c87aef0bca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20Pinkava?= Date: Fri, 23 Sep 2022 00:27:50 +0200 Subject: [PATCH] Replace deprecated setStandardButtons --- plugins/channeltx/modatv/atvmodgui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/channeltx/modatv/atvmodgui.cpp b/plugins/channeltx/modatv/atvmodgui.cpp index 3be698ead..70dc5af5d 100644 --- a/plugins/channeltx/modatv/atvmodgui.cpp +++ b/plugins/channeltx/modatv/atvmodgui.cpp @@ -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