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

KMessageBox::sorry is deprecated in kf5.97

parent 3682529a
Pipeline #210930 passed with stage
in 6 minutes and 22 seconds
......@@ -100,7 +100,7 @@ namespace kt
// check for dupes
if (!tc->getTrackersList()->addTracker(url,true))
{
KMessageBox::sorry(nullptr,i18n("There already is a tracker named <b>%1</b>.",text));
KMessageBox::error(nullptr,i18n("There already is a tracker named <b>%1</b>.",text));
}
else
{
......
......@@ -257,7 +257,7 @@ void BTTransfer::addTracker(const QString &url)
{
qCDebug(KGET_DEBUG);
if(torrent->getStats().priv_torrent) {
KMessageBox::sorry(nullptr, i18n("Cannot add a tracker to a private torrent."));
KMessageBox::error(nullptr, i18n("Cannot add a tracker to a private torrent."));
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