Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
KDiskFree
Commits
822be925
Commit
822be925
authored
Jul 29, 2022
by
Laurent Montel
Browse files
KMessageBox::sorry is deprecated in kf5.97
parent
2d1bcf11
Pipeline
#210191
passed with stage
in 2 minutes and 7 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/kdfwidget.cpp
View file @
822be925
...
...
@@ -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"
));
}
}
...
...
src/kwikdisk.cpp
View file @
822be925
...
...
@@ -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"
));
}
}
...
...
src/mntconfig.cpp
View file @
822be925
...
...
@@ -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
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment