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
Games
lskat
Commits
e14249b1
Commit
e14249b1
authored
Oct 05, 2021
by
Antoni Bella Pérez
🚵🏻
Browse files
Add a @title:window helper to GUI messages
parent
004eaf51
Changes
1
Show whitespace changes
Inline
Side-by-side
src/fromlibkdegames/kcarddialog.cpp
View file @
e14249b1
...
...
@@ -187,7 +187,7 @@ KCardDialog::KCardDialog(KCardWidget *widget)
QVBoxLayout
*
mainLayout
=
new
QVBoxLayout
;
setLayout
(
mainLayout
);
mainLayout
->
addWidget
(
widget
);
setWindowTitle
(
i18n
(
"Card Deck Selection"
));
setWindowTitle
(
i18n
c
(
"@title:window"
,
"Card Deck Selection"
));
QDialogButtonBox
*
buttonBox
=
new
QDialogButtonBox
(
QDialogButtonBox
::
Ok
|
QDialogButtonBox
::
Cancel
);
QPushButton
*
okButton
=
buttonBox
->
button
(
QDialogButtonBox
::
Ok
);
okButton
->
setDefault
(
true
);
...
...
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