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
KMix
Commits
ae08af55
Commit
ae08af55
authored
Jul 30, 2022
by
Laurent Montel
Browse files
KMessageBox::sorry is deprecated in kf5.97
parent
77494fc6
Pipeline
#210550
passed with stage
in 1 minute and 38 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
apps/kmixwindow.cpp
View file @
ae08af55
...
...
@@ -769,14 +769,14 @@ void KMixWindow::newView()
if
(
guiprof
==
nullptr
)
{
KMessageBox
::
sorry
(
this
,
i18n
(
"Cannot add view - GUIProfile is invalid."
),
i18n
(
"Error"
));
KMessageBox
::
error
(
this
,
i18n
(
"Cannot add view - GUIProfile is invalid."
),
i18n
(
"Error"
));
}
else
{
bool
ret
=
addMixerWidget
(
mixer
->
id
(),
guiprof
->
getId
(),
-
1
);
if
(
!
ret
)
{
KMessageBox
::
sorry
(
this
,
i18n
(
"Cannot add view - View already exists."
),
i18n
(
"Error"
));
KMessageBox
::
error
(
this
,
i18n
(
"Cannot add view - View already exists."
),
i18n
(
"Error"
));
}
}
...
...
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