Commit ac141b3f authored by Laurent Montel's avatar Laurent Montel
Browse files

KMessageBox::sorry is deprecated in kf5.97

parent b5ccf044
Pipeline #210549 passed with stage
in 1 minute and 41 seconds
......@@ -175,7 +175,7 @@ void Kwave::MessageBox::show()
break;
// Sorry
case KMessageBox::Sorry:
KMessageBox::sorry(m_parent, m_message, m_caption);
KMessageBox::error(m_parent, m_message, m_caption);
break;
// WarningYesNoCancel
case KMessageBox::WarningYesNoCancel:
......
......@@ -52,7 +52,7 @@ namespace Kwave
const QString buttonNo = QString(),
const QString &dontAskAgainName = QString());
/** @see KMessageBox::sorry */
/** @see KMessageBox::error */
static int sorry(QWidget *widget,
QString message, QString caption = QString());
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment