| 622 | } |
| 623 | |
| 624 | void ModListViewActions::sendModsToPriority(const QModelIndexList& indexes) const |
| 625 | { |
| 626 | bool ok; |
| 627 | int priority = QInputDialog::getInt(m_parent, tr("Set Priority"), |
| 628 | tr("Set the priority of the selected mods"), 0, 0, |
| 629 | std::numeric_limits<int>::max(), 1, &ok); |
| 630 | if (!ok) |
| 631 | return; |
| 632 | |
| 633 | m_core.modList()->changeModsPriority(indexes, priority); |
| 634 | } |
| 635 | |
| 636 | void ModListViewActions::sendModsToSeparator(const QModelIndexList& indexes) const |
| 637 | { |
no test coverage detected