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
Education
Parley
Commits
f3a4ad33
Commit
f3a4ad33
authored
Jul 31, 2022
by
Laurent Montel
Browse files
KMessageBox::sorry is deprecated in kf5.97
parent
17ef1e65
Pipeline
#210933
passed with stage
in 2 minutes and 30 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/parleymainwindow.cpp
View file @
f3a4ad33
...
...
@@ -170,7 +170,7 @@ void ParleyMainWindow::configurePractice()
void
ParleyMainWindow
::
startPractice
()
{
if
(
Prefs
::
learningLanguage
()
==
Prefs
::
knownLanguage
())
{
KMessageBox
::
sorry
(
this
,
i18n
(
"You cannot start to practice when the known language is the same as the language to learn."
),
i18n
(
"Select languages"
));
KMessageBox
::
error
(
this
,
i18n
(
"You cannot start to practice when the known language is the same as the language to learn."
),
i18n
(
"Select languages"
));
return
;
}
qDebug
()
<<
"Starting Switch Practice"
;
...
...
src/practice/configure/blockoptions.cpp
View file @
f3a4ad33
...
...
@@ -279,7 +279,7 @@ void BlockOptions::checkValidity()
}
if
(
message
.
length
()
!=
0
)
KMessageBox
::
sorry
(
this
,
message
,
i18n
(
"Illogical Values"
));
KMessageBox
::
error
(
this
,
message
,
i18n
(
"Illogical Values"
));
}
bool
BlockOptions
::
isDefault
()
...
...
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