Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
80e53b33
Commit
80e53b33
authored
May 08, 2015
by
Matt Lowe
Browse files
Connected die roll dlg to parent
Die roll now has a logo as it is correctly connected to the parent.
parent
9a81b151
Changes
1
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/player.cpp
View file @
80e53b33
...
@@ -1003,7 +1003,7 @@ void Player::actRollDie()
...
@@ -1003,7 +1003,7 @@ void Player::actRollDie()
#else
#else
QInputDialog
::
getInt
(
QInputDialog
::
getInt
(
#endif
#endif
0
,
tr
(
"Roll die"
),
tr
(
"Number of sides:"
),
20
,
2
,
1000
,
1
,
&
ok
);
static_cast
<
QWidget
*>
(
parent
())
,
tr
(
"Roll die"
),
tr
(
"Number of sides:"
),
20
,
2
,
1000
,
1
,
&
ok
);
if
(
ok
)
{
if
(
ok
)
{
Command_RollDie
cmd
;
Command_RollDie
cmd
;
cmd
.
set_sides
(
sides
);
cmd
.
set_sides
(
sides
);
...
...
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