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
Multimedia
Kwave
Commits
ac141b3f
Commit
ac141b3f
authored
Jul 30, 2022
by
Laurent Montel
Browse files
KMessageBox::sorry is deprecated in kf5.97
parent
b5ccf044
Pipeline
#210549
passed with stage
in 1 minute and 41 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
libkwave/MessageBox.cpp
View file @
ac141b3f
...
...
@@ -175,7 +175,7 @@ void Kwave::MessageBox::show()
break
;
// Sorry
case
KMessageBox
::
Sorry
:
KMessageBox
::
sorry
(
m_parent
,
m_message
,
m_caption
);
KMessageBox
::
error
(
m_parent
,
m_message
,
m_caption
);
break
;
// WarningYesNoCancel
case
KMessageBox
::
WarningYesNoCancel
:
...
...
libkwave/MessageBox.h
View file @
ac141b3f
...
...
@@ -52,7 +52,7 @@ namespace Kwave
const
QString
buttonNo
=
QString
(),
const
QString
&
dontAskAgainName
=
QString
());
/** @see KMessageBox::
sorry
*/
/** @see KMessageBox::
error
*/
static
int
sorry
(
QWidget
*
widget
,
QString
message
,
QString
caption
=
QString
());
...
...
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