Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
KDialog
Commits
534ef93d
Commit
534ef93d
authored
Jul 11, 2020
by
Jonathan Marten
Browse files
Correct the 'ask' parameter to KMessageBox::createKMessageBox()
It's the text of the checkbox, not the config key.
parent
21293007
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/kdialog.cpp
View file @
534ef93d
...
...
@@ -522,7 +522,15 @@ int main(int argc, char *argv[])
buttonBox
->
button
(
QDialogButtonBox
::
Ok
)
->
setFocus
();
break
;
}
(
void
)
KMessageBox
::
createKMessageBox
(
&
dialog
,
buttonBox
,
icon
,
text
,
{},
dontagain
,
nullptr
,
options
,
details
);
(
void
)
KMessageBox
::
createKMessageBox
(
&
dialog
,
// dialog
buttonBox
,
// buttons
icon
,
// icon
text
,
// text
{},
// strlist
i18n
(
"Do not ask again"
),
// ask
nullptr
,
// checkboxReturn
options
,
// options
details
);
// details
Utils
::
handleXGeometry
(
&
dialog
);
const
auto
ret
=
QDialogButtonBox
::
StandardButton
(
dialog
.
exec
());
if
(
!
dontagain
.
isEmpty
())
{
...
...
Jonathan Marten
@marten
mentioned in commit
f60dd6f4
·
Jul 23, 2020
mentioned in commit
f60dd6f4
mentioned in commit f60dd6f479c7b2cac79224b2bbadd2eb83df7800
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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