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

KMessageBox::sorry is deprecated in kf5.97

parent 03eb4fc3
Pipeline #210552 passed with stage
in 1 minute
......@@ -300,7 +300,7 @@ bool Cache::prepareToLoadCachedItems()
{
qCCritical(JUK_LOG) << "Music cache checksum expected to get" << checksumExpected <<
"actually was" << checksum;
KMessageBox::sorry(0, i18n("The music data cache has been corrupted. JuK "
KMessageBox::error(0, i18n("The music data cache has been corrupted. JuK "
"needs to rescan it now. This may take some time."));
return false;
}
......
......@@ -385,7 +385,7 @@ void PlayerManager::slotStateChanged(Phonon::State newstate, Phonon::State)
break;
case Phonon::FatalError:
KMessageBox::sorry(0, errorMessage);
KMessageBox::error(0, errorMessage);
break;
}
......
......@@ -189,7 +189,7 @@ void WebImageFetcher::slotImageFetched(KJob* j)
if(job->error()) {
qCCritical(JUK_LOG) << "Unable to grab image" << job->errorText();
KMessageBox::sorry(nullptr, i18n("Failed to download requested cover art: %1", job->errorString()),
KMessageBox::error(nullptr, i18n("Failed to download requested cover art: %1", job->errorString()),
i18nc("@title:window", "Could not download cover art"));
return;
}
......
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