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

Method updateModCount

src/modlistview.cpp:542–568  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

540}
541
542void ModListView::updateModCount()
543{
544 const auto c = counters();
545
546 ui.counter->display(c.visible.active);
547 ui.counter->setToolTip(tr("<table cellspacing=\"5\">"
548 "<tr><th>Type</th><th>All</th><th>Visible</th>"
549 "<tr><td>Enabled mods:&emsp;</td><td align=right>%1 / "
550 "%2</td><td align=right>%3 / %4</td></tr>"
551 "<tr><td>Unmanaged/DLCs:&emsp;</td><td "
552 "align=right>%5</td><td align=right>%6</td></tr>"
553 "<tr><td>Mod backups:&emsp;</td><td align=right>%7</td><td "
554 "align=right>%8</td></tr>"
555 "<tr><td>Separators:&emsp;</td><td align=right>%9</td><td "
556 "align=right>%10</td></tr>"
557 "</table>")
558 .arg(c.active)
559 .arg(c.regular)
560 .arg(c.visible.active)
561 .arg(c.visible.regular)
562 .arg(c.foreign)
563 .arg(c.visible.foreign)
564 .arg(c.backup)
565 .arg(c.visible.backup)
566 .arg(c.separator)
567 .arg(c.visible.separator));
568}
569
570void ModListView::refreshFilters()
571{

Callers 5

removeModsMethod · 0.80
createBackupMethod · 0.80
restoreBackupMethod · 0.80
MainWindowMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected