Commit 80e53b33 authored by Matt Lowe's avatar 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
...@@ -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);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment