MCPcopy Create free account
hub / github.com/ModOrganizer2/modorganizer / sendModsToPriority

Method sendModsToPriority

src/modlistviewactions.cpp:624–634  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

622}
623
624void 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
636void ModListViewActions::sendModsToSeparator(const QModelIndexList& indexes) const
637{

Callers 1

addSendToContextMenuMethod · 0.80

Calls 2

changeModsPriorityMethod · 0.80
modListMethod · 0.45

Tested by

no test coverage detected