MCPcopy Create free account
hub / github.com/FreesmTeam/FreesmLauncher / deselectedResources

Method deselectedResources

launcher/ui/dialogs/ReviewMessageBox.cpp:96–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94}
95
96auto ReviewMessageBox::deselectedResources() -> QStringList
97{
98 QStringList list;
99
100 auto* item = ui->modTreeWidget->topLevelItem(0);
101
102 for (int i = 1; item != nullptr; ++i) {
103 if (item->checkState(0) == Qt::CheckState::Unchecked) {
104 list.append(item->text(0));
105 }
106
107 item = ui->modTreeWidget->topLevelItem(i);
108 }
109
110 return list;
111}
112
113void ReviewMessageBox::retranslateUi(QString resources_name)
114{

Callers 1

confirmMethod · 0.80

Calls 2

appendMethod · 0.80
textMethod · 0.45

Tested by

no test coverage detected