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

KMessageBox::sorry is deprecated in kf5.97

parent 77494fc6
Pipeline #210550 passed with stage
in 1 minute and 38 seconds
......@@ -769,14 +769,14 @@ void KMixWindow::newView()
if (guiprof == nullptr)
{
KMessageBox::sorry(this, i18n("Cannot add view - GUIProfile is invalid."), i18n("Error"));
KMessageBox::error(this, i18n("Cannot add view - GUIProfile is invalid."), i18n("Error"));
}
else
{
bool ret = addMixerWidget(mixer->id(), guiprof->getId(), -1);
if (!ret)
{
KMessageBox::sorry(this, i18n("Cannot add view - View already exists."), i18n("Error"));
KMessageBox::error(this, i18n("Cannot add view - View already exists."), i18n("Error"));
}
}
......
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