Commit 822be925 authored by Laurent Montel's avatar Laurent Montel
Browse files

KMessageBox::sorry is deprecated in kf5.97

parent 2d1bcf11
Pipeline #210191 passed with stage
in 2 minutes and 7 seconds
......@@ -354,7 +354,7 @@ void KDFWidget::criticallyFull( DiskEntry *disk )
{
QString msg = i18n("Device [%1] on [%2] is critically full.",
disk->deviceName(), disk->mountPoint());
KMessageBox::sorry( this, msg, i18nc("Warning device getting critically full", "Warning"));
KMessageBox::error( this, msg, i18nc("Warning device getting critically full", "Warning"));
}
}
......
......@@ -266,7 +266,7 @@ void KwikDisk::criticallyFull(DiskEntry *disk)
{
QString msg = i18n("Device [%1] on [%2] is critically full.",
disk->deviceName(), disk->mountPoint());
KMessageBox::sorry( nullptr, msg, i18nc("Device is getting critically full", "Warning"));
KMessageBox::error( nullptr, msg, i18nc("Device is getting critically full", "Warning"));
}
}
......
......@@ -239,7 +239,7 @@ void MntConfigWidget::selectMntFile()
if( !url.isLocalFile() )
{
KMessageBox::sorry( nullptr, i18n( "Only local files supported." ) );
KMessageBox::error( nullptr, i18n( "Only local files supported." ) );
return;
}
......@@ -255,7 +255,7 @@ void MntConfigWidget::selectUmntFile()
if( !url.isLocalFile() )
{
KMessageBox::sorry( nullptr, i18n( "Only local files are currently supported." ) );
KMessageBox::error( nullptr, i18n( "Only local files are currently supported." ) );
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